Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 38bdc072b681d62aafeeac24419f885183d48329
      
https://github.com/WebKit/WebKit/commit/38bdc072b681d62aafeeac24419f885183d48329
  Author: Matthieu Dubet <m_du...@apple.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/css/SelectorChecker.cpp
    M Source/WebCore/css/SelectorChecker.h

  Log Message:
  -----------
  [CSS] Disallow matching of :has() inside :has()
https://bugs.webkit.org/show_bug.cgi?id=276827
rdar://132102543

Reviewed by Antti Koivisto.

We already disabled this at parsing time, but it can also
be created "contextually" with Nesting.

"The :has() pseudo-class cannot be nested"
https://drafts.csswg.org/selectors/#relational

* LayoutTests/TestExpectations:
* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::matchHasPseudoClass const):
* Source/WebCore/css/SelectorChecker.h:

Canonical link: https://commits.webkit.org/281997@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to