[wpt-sync] Sync PR 23508 - Attribute animations should not be reflected by getAttribute(...)
Categories
(Core :: SVG, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23508 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23508
Details from upstream follow.
Fredrik Söderqvist <fs@opera.com> wrote:
Attribute animations should not be reflected by getAttribute(...)
According to SMIL [1], when an attribute is animated, the actual DOM
attribute should not change. So only synchronize attributes after a base
value change has taken place.
Rename related flags and methods to not include "animated", since that
seems a bit misleading.
Add SVGElement::CollectStyleForAnimatedPresentationAttributes() to
handle animations of attributes that are presentation attributes but are
not actually specified on the target element.[1] https://www.w3.org/TR/2001/REC-smil-animation-20010904/#BasicAnim
Bug: 735820
Change-Id: I2a0858dd383a1a96e7b96451a6fca07084983d57
Reviewed-on: https://chromium-review.googlesource.com/2173184
WPT-Export-Revision: 438ef7cdc3099f84542281e5d4f3634ee4e0c21f
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 72 tests
Status Summary
Firefox
OK : 1
PASS: 1[GitHub] 72[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
PASS: 1
Links
Comment 5•5 years ago
|
||
bugherder |
Description
•