Closed Bug 2076519 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63058 - [css] Reuse cached implicit scopes in parent frames

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
159 Branch
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

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

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

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b05d39a0e185 https://hg.mozilla.org/integration/autoland/rev/81f1738aeae9 [wpt PR 63058] - [css] Reuse cached implicit scopes in parent frames, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.