Closed Bug 2084324 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 63905 - [blink] Enable fall back to main for unsupported inherited properties

Categories

(Core :: CSS Transitions and Animations, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63905 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63905
Details from upstream follow.

Free Debreuil <freedebreuil@google.com> wrote:

[blink] Enable fall back to main for unsupported inherited properties

Enable fall back to the main thread by default (via
TrackAnimatedSources) for unsupported inherited properties: transform,
translate, rotate, scale, opacity, filter, backdrop-filter,
background-color, and clip-path. When another element inherits an
animated value for one of these properties, composited animations fall
back to the main thread because the compositor cannot yet propagate
animated values between elements.

Move tracking of properties that inherit by default, currently only
color, behind a new TrackAnimatedSourcesForInheritedProperties flag
(disabled by default). Every descendant carries their sources, and color
animations are not composited, so the fallback does not need them yet.

Add WPT reftests checking that a child inheriting an animated transform
or opacity stays in sync with its parent's animated value. These are the
two properties every engine composites; the per-property tracking is
covered by AnimatedSourcePropertyTest.

Fixed: 493257009
Fixed: 568017798
Change-Id: Ic2960dd832dc7375e11c2b618e1b8e6db8ec23ce
Reviewed-on: https://chromium-review.googlesource.com/8480791
WPT-Export-Revision: 3f0ebef98fd62bdbb7e156445b1a8cc371250069

Component: web-platform-tests → CSS Transitions and Animations
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 209 tests

Status Summary

Firefox

OK : 128
PASS: 45[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1429[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1459[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1461[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
FAIL: 2[GitHub] 46[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 49[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 51[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

FAIL: 2

Safari

FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.