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.
<rdar://problem/115205991>
Pull request: https://github.com/WebKit/WebKit/pull/17623
Committed 267932@main (20ce50e23068): <https://commits.webkit.org/267932@main> Reviewed commits have been landed. Closing PR #17623 and removing active labels.