WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
99651
REGRESSION: Animated SVG does not work on <body> when in a background-image
https://bugs.webkit.org/show_bug.cgi?id=99651
Summary
REGRESSION: Animated SVG does not work on <body> when in a background-image
Philip Rogers
Reported
2012-10-17 16:14:04 PDT
See testcase:
http://m8y.org/tmp/testcase228.xhtml
Reported by external user "nemo" on IRC.
Attachments
Example for animation bug on body
(172 bytes, text/html)
2012-10-17 16:21 PDT
,
Dirk Schulze
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dirk Schulze
Comment 1
2012-10-17 16:21:52 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.
Philip Rogers
Comment 2
2012-10-17 21:12:26 PDT
(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
Dirk Schulze
Comment 3
2012-10-18 09:19:06 PDT
(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.
Said Abou-Hallawa
Comment 4
2015-02-04 14:28:47 PST
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
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug