[wpt-sync] Sync PR 63273 - [css-transitions] revert inside @starting-style drops lower-layer @starting-style declarations
Categories
(Core :: CSS Transitions and Animations, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63273 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63273
Details from upstream follow.
Ahmad Saleem <ahmad.saleem792+github@gmail.com> wrote:
[css-transitions] revert inside @starting-style drops lower-layer @starting-style declarations
This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.
The rollback cascades built for revert, revert-layer and revert-rule hardcoded their included property types to normalProperties(), which does not contain PropertyType::StartingStyle. As a result, addMatch() dropped every @starting-style declaration from the rollback cascade, so a revert used inside an @starting-style rule could not roll back to an @starting-style declaration from a lower priority layer or origin and instead behaved like "unset".
Propagate the parent cascade's StartingStyle property type into the rollback cascade so starting-style declarations remain visible during rollback.
WebKit-Bug: https://bugs.webkit.org/show_bug.cgi?id=325359
WebKit-Canonical-Link: https://commits.webkit.org/322688@main
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=101176
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 143 tests
Status Summary
Firefox
OK : 1[GitHub] 114[Gecko-android-em-14-x86_64-debug-geckoview] 115[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2[GitHub] 13[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1424[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1425[Gecko-android-em-14-x86_64-debug-geckoview] 1430[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 16
Chrome
OK : 1
PASS: 2
Safari
OK : 1
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-transitions/before-load-001.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-001.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-002.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-003.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-implicit-001.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-inherit-001.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-inherit-002.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-inherit-003.html [wpt.fyi]:
SKIP - /css/css-transitions/pseudo-elements-001.html [wpt.fyi]:
SKIP - /css/css-transitions/CSSTransition-startTime.tentative.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /css/css-transitions/after-change-style-inherited-try-fallback.html [wpt.fyi]
- Position fallback correctly applied to after-change style:
FAIL
- Position fallback correctly applied to after-change style:
- /css/css-transitions/idlharness-2.html [wpt.fyi]
- Partial interface TransitionEvent: original interface defined:
FAIL - Partial dictionary TransitionEventInit: original dictionary defined:
FAIL
- Partial interface TransitionEvent: original interface defined:
- /css/css-transitions/starting-style-size-container.html [wpt.fyi]
- Triggered transition from first style update based on up-to-date container query:
FAIL
- Triggered transition from first style update based on up-to-date container query:
- /css/css-transitions/unregistered-custom-property-transition.html [wpt.fyi]
- first value -> unset transition with allow-discrete:
FAIL
- first value -> unset transition with allow-discrete:
- /css/css-transitions/animations/animate-with-color-mix.html [wpt.fyi]
- Transition from color-mix to legacy rgb:
FAIL - Transition from legacy rgb to color-mix:
FAIL - Transition from color-mix to srgb:
FAIL - Transition from srgb to color-mix:
FAIL - Transition from color-mix with transparency to legacy rgba:
FAIL - Transition from legacy rgba to color-mix with transparency:
FAIL
- Transition from color-mix to legacy rgb:
- /css/css-transitions/parsing/transition-timing-function-computed.html [wpt.fyi]
- Property transition-timing-function value 'steps(calc(2 * sibling-index()), jump-none)':
FAIL - Property transition-timing-function value 'steps(sibling-index(), jump-none)':
FAIL - Property transition-timing-function value 'steps(calc(2 * sign(1em - 1000px)), jump-none)':
FAIL - Property transition-timing-function value 'steps(calc(2 * sign(1em - 1000px)), start)':
FAIL
- Property transition-timing-function value 'steps(calc(2 * sibling-index()), jump-none)':
- /css/css-transitions/parsing/transition-timing-function-valid.html [wpt.fyi]
- e.style['transition-timing-function'] = "steps(sibling-index(), jump-none)" should set the property value:
FAIL
- e.style['transition-timing-function'] = "steps(sibling-index(), jump-none)" should set the property value:
Tests Disabled in Gecko Infrastructure
- /css/css-transitions/before-load-001.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-001.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-002.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-003.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-implicit-001.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-inherit-001.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-inherit-002.html [wpt.fyi]:
SKIP - /css/css-transitions/properties-value-inherit-003.html [wpt.fyi]:
SKIP - /css/css-transitions/pseudo-elements-001.html [wpt.fyi]:
SKIP - /css/css-transitions/CSSTransition-startTime.tentative.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview]
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•