Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c636375820603e3923c43e9eaff936e352444a3a
      
https://github.com/WebKit/WebKit/commit/c636375820603e3923c43e9eaff936e352444a3a
  Author: Matthieu Dubet <[email protected]>
  Date:   2025-08-08 (Fri, 08 Aug 2025)

  Changed paths:
    M Source/WebCore/css/SelectorChecker.cpp
    M Source/WebCore/css/SelectorChecker.h
    M Source/WebCore/cssjit/SelectorCompiler.cpp
    M Source/WebCore/page/InteractionRegion.cpp
    M Source/WebCore/style/ChildChangeInvalidation.cpp
    M Source/WebCore/style/ElementRuleCollector.cpp
    M Source/WebCore/style/ElementRuleCollector.h
    M Source/WebCore/style/StyleInvalidator.cpp
    M Source/WebCore/style/StyleResolver.cpp

  Log Message:
  -----------
  [CSS] Rename/clean SelectorChecker::Mode
https://bugs.webkit.org/show_bug.cgi?id=297052

Reviewed by Antti Koivisto.

Rename CollectingRulesIgnoringVirtualPseudoElement to StyleInvalidation

Remove the m_firstRuleMode because this is the same as being in 
StyleInvalidation

Remove unused function matchesAnyRules()

Make m_mode constant after construction

* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::match const):
(WebCore::SelectorChecker::checkOne const):
* Source/WebCore/css/SelectorChecker.h:
* Source/WebCore/cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateMarkPseudoStyleForPseudoElement):
* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::elementMatchesHoverRules):
* Source/WebCore/style/ChildChangeInvalidation.cpp:
(WebCore::Style::ChildChangeInvalidation::invalidateForChangedElement):
* Source/WebCore/style/ElementRuleCollector.cpp:
(WebCore::Style::ElementRuleCollector::ElementRuleCollector):
(WebCore::Style::ElementRuleCollector::isFirstMatchModeAndHasMatchedAnyRules 
const):
(WebCore::Style::ElementRuleCollector::collectMatchingRules):
(WebCore::Style::ElementRuleCollector::matchesAnyAuthorRules):
(WebCore::Style::ElementRuleCollector::matchesAnyRules): Deleted.
* Source/WebCore/style/ElementRuleCollector.h:
(WebCore::Style::ElementRuleCollector::setMode): Deleted.
* Source/WebCore/style/StyleInvalidator.cpp:
(WebCore::Style::Invalidator::invalidateIfNeeded):
* Source/WebCore/style/StyleResolver.cpp:
(WebCore::Style::Resolver::pseudoStyleRulesForElement):

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



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

Reply via email to