[wpt-sync] Sync PR 40668 - [@scope] Invalidate :has() within @scope
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| 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
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 5•2 years ago
|
||
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b3c60c7ae6e0
https://hg.mozilla.org/mozilla-central/rev/b0d17bc11ca6
Description
•