Closed Bug 1636978 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 23508 - Attribute animations should not be reflected by getAttribute(...)

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla78
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

Component: web-platform-tests → SVG
Product: Testing → Core

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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/525bb6234d13 [wpt PR 23508] - Attribute animations should not be reflected by getAttribute(...), a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6bfff3fc5ef6 [wpt PR 23508] - Attribute animations should not be reflected by getAttribute(...), a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.