Closed
Bug 1513920
Opened 7 years ago
Closed 7 years ago
Regression: SVG symbol element content can't be animated with CSS
Categories
(Core :: SVG, defect)
Tracking
()
VERIFIED
FIXED
mozilla66
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox64 | --- | wontfix |
| firefox65 | --- | verified |
| firefox66 | --- | verified |
People
(Reporter: kari_pihkala, Assigned: emilio)
References
Details
(4 keywords)
Attachments
(2 files)
|
750 bytes,
image/svg+xml
|
Details | |
|
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:63.0) Gecko/20100101 Firefox/63.0
Steps to reproduce:
1. Open the attached test case symbol-css-animate.svg or go to CodePen: https://codepen.io/anon/pen/roxxyg?editors=1100
2. Observe the SVG document, all three rectangles should be rotating.
Actual results:
Only the green rectangle is rotating. The red rectangles are not rotating.
Expected results:
All three rectangles should be rotating, including the red rectangles. The red rectangles are inside SVG <symbol>. It seems that CSS animations can't anymore animate the contents of the symbol element.
This used to work in Firefox 62.0. This doesn't work anymore in Firefox 63.0.
Google Chrome shows all three rectangles rotating.
Comment 1•7 years ago
|
||
| regression-window | ||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
20181213094243
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=38e729d91ed2873b708bd4800b01b8433ffceabd&tochange=453d0a08f00c125ff6cc3905265e76efe641524e
Blocks: 1450250
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Component: Untriaged → SVG
Ever confirmed: true
Flags: needinfo?(emilio)
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
| Assignee | ||
Comment 2•7 years ago
|
||
Ah, I see what happens. Thanks for the report... We clearly don't have enough tests for <svg:use>...
Assignee: nobody → emilio
Updated•7 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•7 years ago
|
||
The same thing we do for rule matching.
| Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(emilio)
Updated•7 years ago
|
status-firefox64:
--- → affected
status-firefox65:
--- → affected
status-firefox66:
--- → affected
status-firefox-esr60:
--- → unaffected
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1b1eaa3248a7
Make <use> shadow trees lookup keyframe rules in the containing tree. r=heycam
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14562 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 7•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Comment 8•7 years ago
|
||
| bugherder | ||
Upstream PR merged
Comment 10•7 years ago
|
||
Please nominate this for Beta approval when you get a chance.
| Assignee | ||
Comment 11•7 years ago
|
||
Comment on attachment 9031407 [details]
Bug 1513920 - Make <use> shadow trees lookup keyframe rules in the containing tree.
[Beta/Release Uplift Approval Request]
Feature/Bug causing the regression: Bug 1450250
User impact if declined: Some animations in SVG may not be honored.
Is this code covered by automated tests?: Yes
Has the fix been verified in Nightly?: Yes
Needs manual test from QE?: Yes
If yes, steps to reproduce: See the test-case.
List of other uplifts needed: none
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): Trivial fix contained to <svg:use>.
String changes made/needed: none
Flags: needinfo?(emilio)
Attachment #9031407 -
Flags: approval-mozilla-beta?
Updated•7 years ago
|
Flags: qe-verify+
Comment 12•7 years ago
|
||
Comment on attachment 9031407 [details]
Bug 1513920 - Make <use> shadow trees lookup keyframe rules in the containing tree.
[Triage Comment]
Fixes a regression causing some animated SVGs to not be animated. Approved for 65.0b6.
Attachment #9031407 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 13•7 years ago
|
||
| bugherder uplift | ||
Comment 14•7 years ago
|
||
I have managed to reproduce the issue described in comment 0 using Firefox 65.0b5.
This issue is verified fixed using Firefox 66.0a1 (BuildId:20181219220049) and Firefox 65.0b6 (provided in comment 13) on Windows 10 64bit, macOS 10.9 and Ubuntu 16.04 64bit.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•