[wpt-sync] Sync PR 57995 - Cancel composited animation affecting important property
Categories
(Core :: DOM: Animation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 57995 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/57995
Details from upstream follow.
Kevin Ellis <kevers@google.com> wrote:
Cancel composited animation affecting important property
An animation affecting a important property still runs, but is
unable to run on the compositor as it doesn't know about
composite ordering. The problem is that after a composited animation
starts on the compositor, if the base style value is then marked as
important, the we need to stop the animation on the compositor.
It is to still run on main as it still generates observable events.Halting an animation on the compositor when the property becomes
important was sufficient for transform animations, but not for
opacity. The property tree builder has a fast path for opacity that
can be taken even if the animation is not to be composited. An
additional step was needed for opacity animations to ensure that
the fast path isn't used when the opacity property is marked as
important.Note: though the animation still needs to run on main, it would
only need to tick every frame if a CSS transition. CSS animations
and programmatic animation effects will not be applied during the
style cascade if the base property is marked important. Logged as
crbug.com/486155924. Though this may seem like an obscure edge case,
it may be common for uses who have prefers-reduced-motion set.Bug: 476652058
Change-Id: I5e2aeaabe26c845d26c3872168177826f794a3e7
Reviewed-on: https://chromium-review.googlesource.com/7532839
WPT-Export-Revision: aaedf3f7c28f9138084aea527ab19fc5b28a65db
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
| Assignee | ||
Comment 2•9 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 44 tests
Status Summary
Firefox
OK : 38
PASS: 3[GitHub] 74[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 79[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 80[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
FAIL: 22[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] 23[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
Chrome
FAIL: 3
Safari
PASS: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /web-animations/responsive/background-position-responsive.html [wpt.fyi]
- Animating from a neutral keyframe when the underlying style is inherited from the parent:
FAIL
- Animating from a neutral keyframe when the underlying style is inherited from the parent:
- /web-animations/responsive/baselineShift.html [wpt.fyi]
- baselineShift responsive to inherited changes:
FAIL
- baselineShift responsive to inherited changes:
- /web-animations/responsive/box-shadow-responsive.html [wpt.fyi]
- Animating to inherit responsive to change in style:
FAIL - Animating from inherit responsive to change in style:
FAIL
- Animating to inherit responsive to change in style:
- /web-animations/responsive/clip.html [wpt.fyi]
- clip responsive to inherited clip changes:
FAIL - clip responsive to inherited clip changes from auto:
FAIL
- clip responsive to inherited clip changes:
- /web-animations/responsive/columnCount.html [wpt.fyi]
- column-count responsive to inherited column-count changes:
FAIL
- column-count responsive to inherited column-count changes:
- /web-animations/responsive/columnGap.html [wpt.fyi]
- column-gap responsive to inherited changes:
FAIL
- column-gap responsive to inherited changes:
- /web-animations/responsive/fontSize.html [wpt.fyi]
- Font size initial responsive to style changes:
FAIL
- Font size initial responsive to style changes:
- /web-animations/responsive/offsetDistance.html [wpt.fyi]
- offsetDistance responsive to inherited offsetDistance changes:
FAIL
- offsetDistance responsive to inherited offsetDistance changes:
- /web-animations/responsive/offsetRotate.html [wpt.fyi]
- offsetRotate responsive to inherited offsetRotate changes:
FAIL
- offsetRotate responsive to inherited offsetRotate changes:
- /web-animations/responsive/opacity.html [wpt.fyi]
- floodOpacity responsive to inherited changes:
FAIL - opacity responsive to inherited changes:
FAIL - shapeImageThreshold responsive to inherited changes:
FAIL - stopOpacity responsive to inherited changes:
FAIL
- floodOpacity responsive to inherited changes:
- /web-animations/responsive/perspective.html [wpt.fyi]
- perspective responsive to inherited changes:
FAIL
- perspective responsive to inherited changes:
- /web-animations/responsive/rowGap.html [wpt.fyi]
- row-gap responsive to inherited changes:
FAIL
- row-gap responsive to inherited changes:
- /web-animations/responsive/shapeOutside.html [wpt.fyi]
- shapeOutside responsive to inherited shapeOutside changes:
FAIL
- shapeOutside responsive to inherited shapeOutside changes:
- /web-animations/responsive/text-size-adjust.html [wpt.fyi]
- text-size-adjust responsive to inherited text-size-adjust changes:
FAIL
- text-size-adjust responsive to inherited text-size-adjust changes:
- /web-animations/responsive/to-color-change.html [wpt.fyi]
- Color animations respond to inherited changes:
FAIL
- Color animations respond to inherited changes:
- /web-animations/responsive/width.html [wpt.fyi]
- width responsive to inherited changes from keyword:
FAIL - width responsive to inherited changes from length:
FAIL
- width responsive to inherited changes from keyword:
- /web-animations/responsive/toggle-animated-iframe-visibility.html [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-24h2-debug,Gecko-windows11-64-24h2-opt]
Comment 4•8 months ago
|
||
| bugherder | ||
Description
•