Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0ae43a84f47d2676357870e1266e7a6e5fd13299
https://github.com/WebKit/WebKit/commit/0ae43a84f47d2676357870e1266e7a6e5fd13299
Author: Antti Koivisto <[email protected]>
Date: 2026-06-23 (Tue, 23 Jun 2026)
Changed paths:
M Source/WebCore/css/CSSSelectorList.h
M Source/WebCore/style/RuleSet.h
M Source/WebCore/style/StyleInvalidator.cpp
M Source/WebCore/style/StyleScopeRuleSets.cpp
M Source/WebCore/style/StyleScopeRuleSets.h
Log Message:
-----------
Introduce RefCountedCSSSelectorList
https://bugs.webkit.org/show_bug.cgi?id=317655
rdar://179178234
Reviewed by Alan Baradlay.
Introduce RefCountedCSSSelectorList and use it for
InvalidationRuleSet::scopeSelector.
* Source/WebCore/css/CSSSelectorList.h:
(WebCore::RefCountedCSSSelectorList::create):
(WebCore::RefCountedCSSSelectorList::RefCountedCSSSelectorList):
* Source/WebCore/style/RuleSet.h:
* Source/WebCore/style/StyleInvalidator.cpp:
(WebCore::Style::Invalidator::invalidateStyleWithMatchElement):
(WebCore::Style::Invalidator::addToMatchElementRuleSets):
(WebCore::Style::Invalidator::addToMatchElementRuleSetsRespectingNegation):
* Source/WebCore/style/StyleScopeRuleSets.cpp:
(WebCore::Style::ensureInvalidationRuleSets):
* Source/WebCore/style/StyleScopeRuleSets.h:
Canonical link: https://commits.webkit.org/315700@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications