Closed Bug 1839625 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40668 - [@scope] Invalidate :has() within @scope

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 40668 into mozilla-central (this bug is closed when the sync is complete).

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

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

[@scope] Invalidate :has() within @scope

This CL uses Impact::kBoth while matching selectors withing the
@scope prelude. This ensures that both AffectedBySubjectHas,
AffectedByNonSubjectHas are set. See CL:4629312 for a more detailed
explanation for why this is needed.

Note that this CL may partially fix some issues related to other
pseudo-classes as well, but adding WPTs for this is deferred to
a later CL (Issue 1451091).

Bug: 1450473, 1451091
Change-Id: Ic076c36a3b5169731935b568b0e10e39be84e395
Reviewed-on: https://chromium-review.googlesource.com/4628079
WPT-Export-Revision: 455e5a63d470f0479585b253e626640a6702375f

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b3c60c7ae6e0 [wpt PR 40668] - [@scope] Invalidate :has() within @scope, a=testonly https://hg.mozilla.org/integration/autoland/rev/b0d17bc11ca6 [wpt PR 40668] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.