Bug 261370
| Summary: | :has(~ :is(.x ~ .y)) must consider all siblings of the :has scope | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
| Component: | CSS | Assignee: | Cameron McCormack (:heycam) <heycam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Cameron McCormack (:heycam)
While selectors like :has(~ .x ~ .y) need only consider the later siblings of an element with class name "x" or "y" changes, :has(~ :is(.x ~ .y)) must also consider previous siblings for "x" changes.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/115205991>
Cameron McCormack (:heycam)
Pull request: https://github.com/WebKit/WebKit/pull/17623
EWS
Committed 267932@main (20ce50e23068): <https://commits.webkit.org/267932@main>
Reviewed commits have been landed. Closing PR #17623 and removing active labels.