Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d1371eea8d2d9fc1853884609ebd26586b085f0
      
https://github.com/WebKit/WebKit/commit/8d1371eea8d2d9fc1853884609ebd26586b085f0
  Author: Anne van Kesteren <[email protected]>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M Source/WebCore/css/SelectorChecker.cpp

  Log Message:
  -----------
  Minor cleanup in SelectorChecker::matchRecursively()
https://bugs.webkit.org/show_bug.cgi?id=266641

Reviewed by Antti Koivisto.

Since we already know we are matching a pseudo element there is no need
for the additional check isCustomPseudoElement() makes.

And then since we are in the condition where
isWebKitCustomPseudoElement() is true, there's no need to check it
again.

* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::matchRecursively const):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to