Summary: | REGRESSION: Animated SVG does not work on <body> when in a background-image | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Philip Rogers <pdr> | ||||
Component: | SVG | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WORKSFORME | ||||||
Severity: | Normal | CC: | fmalita, krit, sabouhallawa, schenney, zimmermann | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 99676, 99677 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Philip Rogers
2012-10-17 16:14:04 PDT
Created attachment 169289 [details]
Example for animation bug on body
SVG animation seem not to work on body elements. Tried html, p, div and worked there.
(In reply to comment #1) > Created an attachment (id=169289) [details] > Example for animation bug on body > > SVG animation seem not to work on body elements. Tried html, p, div and worked there. I wasn't able to reproduce the bug with your testcase, nor reproduce differences between body and p/div/etc. I think this bug has at least two root issues: 1) We do not support data uri images in the svg-as-image case. This is why the leaves do not show up. https://bugs.webkit.org/show_bug.cgi?id=99677 2) There is at least one sizing bug tickled by this repro where we do not repaint correctly. https://bugs.webkit.org/show_bug.cgi?id=99676 (In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=169289) [details] [details] > > Example for animation bug on body > > > > SVG animation seem not to work on body elements. Tried html, p, div and worked there. > > I wasn't able to reproduce the bug with your testcase, nor reproduce differences between body and p/div/etc. > > I think this bug has at least two root issues: > 1) We do not support data uri images in the svg-as-image case. This is why the leaves do not show up. https://bugs.webkit.org/show_bug.cgi?id=99677 > 2) There is at least one sizing bug tickled by this repro where we do not repaint correctly. https://bugs.webkit.org/show_bug.cgi?id=99676 Sorry, I tried with chrome canary, not with released version. Please check again. The test case includes an SVG but this SVG does not reference any resource either data uri or external. So it works for me. I would expect the SVG http://srufaculty.sru.edu/david.dailey/svg/ovaling.svg may have changed since this bug was opened to not include any data uri resources. But I found another issue with this test case. The animation performs really slow when the SVG is the background of the <body> element. I opened a new bug instead of recycling this one. The bug is https://bugs.webkit.org/show_bug.cgi?id=141261. |