Bug
1841273 [wpt PR 40830] - [@scope] Improve sibling invalidation, a=testonly
Automatic update from web-platform-tests
[@scope] Improve sibling invalidation
ExtractInvalidationSetFeaturesFromCompound is supposed to return
the last simple selector of the compound, but did not account for
the kScopeActivation relation, which acts identically to kSubSelector
in this situation. This would cause unexpected behavior for selectors
with :scope (and therefore a kScopeActivation) in the subject, since
we would not be on a "true" combinator boundary after the call to
ExtractInvalidationSetFeaturesFromCompound.
Bug:
1451091
Change-Id: I550ccf87c54c0202f2aa46c856f1a53f218b783f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
4660044
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1165257}
--
wpt-commits:
8dd4ccfe0629a7a39c8d999e86058984d2c4d438
wpt-pr: 40830