Per the CSS WG resolution: https://github.com/w3c/csswg-drafts/issues/7676#issuecomment-1341347244 `:has()` should be unforgiving now. It has already been fixed in Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=1399744 Firefox hasn't implemented `:has()` yet.
Needs probably to review these previous bugs too. https://bugs.webkit.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&list_id=8864308&query_format=advanced&short_desc=has%20invalidation&short_desc_type=allwordssubstr
<rdar://problem/103733208>
(In reply to Karl Dubost from comment #1) > Needs probably to review these previous bugs too. > https://bugs.webkit.org/buglist. > cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOP > ENED&list_id=8864308&query_format=advanced&short_desc=has%20invalidation&shor > t_desc_type=allwordssubstr These bugs are unrelated, this is about parsing, the other ones are about style matching/invalidation
Pull request: https://github.com/WebKit/WebKit/pull/8428
Committed 258712@main (2eca427ede13): <https://commits.webkit.org/258712@main> Reviewed commits have been landed. Closing PR #8428 and removing active labels.