Closed Bug 1841271 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 40829 - [@scope] Extract selector features from StyleScope::To

Categories

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

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

[@scope] Extract selector features from StyleScope::To

At some point, the spec was changed to make the scope limit inclusive,
which means it can also affect the subject. In other words, given
@scope (.a) to (.b) { ... }, removing/adding '.b' from/to an element
can cause it to go in and out of scope.

Bug: 1451091
Change-Id: I2d333d13397f1945bb88e7af8bd25d334eb74787
Reviewed-on: https://chromium-review.googlesource.com/4660482
WPT-Export-Revision: 450e8226236d7fa076220e1effcf988ad3dd83d4

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66cca434d809 [wpt PR 40829] - [@scope] Extract selector features from StyleScope::To, a=testonly https://hg.mozilla.org/integration/autoland/rev/e8b820aaf82d [wpt PR 40829] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.