[wpt-sync] Sync PR 63058 - [css] Reuse cached implicit scopes in parent frames
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63058 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63058
Details from upstream follow.
Kurt Catti-Schmidt <kschmi@microsoft.com> wrote:
[css] Reuse cached implicit scopes in parent frames
Implicit @scope traversal is cached via seen_implicit_scopes_, but this
wasn't being looked at when traversing parent frames. This adds some
logic to take this into account during parent frame traversal.No behavioral changes are expected, just optimization:
ImplicitAtScopeInsertion -7.7%
ImplicitAtScope -2.7%
A WPT was added for sibling stylesheet @scope invalidation, which wasn't
currently covered.Change-Id: Id7d8a4814b4bdd7de8b5bee70b1d94ca599028de
Reviewed-on: https://chromium-review.googlesource.com/8421208
WPT-Export-Revision: 17ff30553c218bcdd6445723e2f57b69d08e9d83
| 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=98746
| 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 159 tests
Status Summary
Firefox
OK : 1[GitHub] 102[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, 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: 1[GitHub] 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1581[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1621[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] 1628[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 17[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 20[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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 1
PASS: 1
Safari
OK : 1
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-cascade/presentational-hints-rollback.html [wpt.fyi]
- #tests > * 7:
FAIL - #tests > * 15:
FAIL
- #tests > * 7:
- /css/css-cascade/revert-rule-cycle.tentative.html [wpt.fyi]
- Cycle between revert-rule !important and revert-layer resolves to unset instead of lower layers:
FAIL - Multi-layer chain cycle with revert-rule !important resolves to unset instead of lower layers:
FAIL
- Cycle between revert-rule !important and revert-layer resolves to unset instead of lower layers:
- /css/css-cascade/revert-val-006.html [wpt.fyi]
- The revert keyword works with @keyframes:
FAIL
- The revert keyword works with @keyframes:
- /css/css-cascade/revert-val-007.html [wpt.fyi]
- A @keyframe animation with revert works when applied to multiple identical elements:
FAIL
- A @keyframe animation with revert works when applied to multiple identical elements:
- /css/css-cascade/revert-val-008.html [wpt.fyi]
- The revert keyword works in the final frame of a web animation:
FAIL
- The revert keyword works in the final frame of a web animation:
- /css/css-cascade/revert-val-010.html [wpt.fyi]
- The revert works when appearing in setKeyframes:
FAIL
- The revert works when appearing in setKeyframes:
- /css/css-cascade/scope-deep.html [wpt.fyi]
- Deep @scope nesting:
FAIL
- Deep @scope nesting:
- /css/css-cascade/scope-import-implicit.html [wpt.fyi]
- Scope-imported rule applies within implicit scope:
FAIL
- Scope-imported rule applies within implicit scope:
- /css/css-cascade/scope-import-inner-scope.html [wpt.fyi]
- @scope within scope-imported stylesheet matches:
FAIL
- @scope within scope-imported stylesheet matches:
- /css/css-cascade/scope-import-multiple.html [wpt.fyi]
- A stylesheet may be imported multiple times, and scoped differently:
FAIL
- A stylesheet may be imported multiple times, and scoped differently:
- /css/css-cascade/scope-import-parent-pseudo.html [wpt.fyi]
- The & selector matches the scoping root:
FAIL - The & selector behaves like :scope:
FAIL
- The & selector matches the scoping root:
- /css/css-cascade/scope-import-scope-end.html [wpt.fyi]
- Scope-imported rule applies within scope, above limit:
FAIL
- Scope-imported rule applies within scope, above limit:
- /css/css-cascade/scope-import-scope-pseudo.html [wpt.fyi]
- The :scope pseudo-class works in imported stylesheets:
FAIL
- The :scope pseudo-class works in imported stylesheets:
- /css/css-cascade/scope-import-scope-start.html [wpt.fyi]
- Scope-imported rule applies within scope:
FAIL
- Scope-imported rule applies within scope:
- /css/css-cascade/all-prop-initial-visited.html [wpt.fyi]:
FAIL - /css/css-cascade/revert-layer-010.html [wpt.fyi]:
FAIL - /css/css-cascade/scope-visited.html [wpt.fyi]:
FAIL
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•