Closed Bug 2091928 Opened 3 days ago Closed 12 hours ago

[wpt-sync] Sync PR 64545 - [style] Revert "Remove unused RuleSetFlag"

Categories

(Core :: CSS Parsing and Computation, 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 64545 into mozilla-central (this bug is closed when the sync is complete).

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

Eldar Pulatov <epulatov.dev@gmail.com> wrote:

[style] Revert "Remove unused RuleSetFlag"

This reverts commit fd68a40ff06ab39fc5b96f99a2c26a53de4395ea. Original
CL: https://crrev.com/c/5153352

Layer-order changes request kFullRecalcRules through kRuleSetFlagsAll.
Removing the flag and its handler left computed styles stale when layer
declarations changed the winning rules in unchanged sheets.

Restore the flag in an unused bit to preserve the current numbering. Add
regression tests and document why the all-flags value requests subtree
style recalc.

Bug: 570832596
Change-Id: Idb846018d04c9b7fdd705b114d0988843aff6594
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8564519
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Eldar Pulatov \<epulatov.dev@gmail.com>
Reviewed-by: Daniil Sakhapov \<sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1732761}

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 165 tests

Status Summary

Firefox

OK : 1[GitHub] 108[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: 3[GitHub] 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1663[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1703[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] 1710[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 20[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-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, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
FAIL: 3

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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