Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8e1c54e1fca87370217d851e8772798134ee33c1
https://github.com/WebKit/WebKit/commit/8e1c54e1fca87370217d851e8772798134ee33c1
Author: Matthieu Dubet <[email protected]>
Date: 2025-08-07 (Thu, 07 Aug 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-focus-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-hover-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-invalidation-expected.txt
M Source/WebCore/css/SelectorChecker.cpp
M Source/WebCore/css/SelectorChecker.h
M Source/WebCore/style/ElementRuleCollector.cpp
Log Message:
-----------
[CSS] For style invalidation, :scope should always match
https://bugs.webkit.org/show_bug.cgi?id=279225
rdar://135907710
Reviewed by Antti Koivisto.
During style invalidation, we don't have the scoping root available to properly
resolve :scope.
We can overestimate by matching always.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-focus-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-hover-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-invalidation-expected.txt:
* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne const):
* Source/WebCore/css/SelectorChecker.h:
* Source/WebCore/style/ElementRuleCollector.cpp:
(WebCore::Style::ElementRuleCollector::scopeRulesMatch):
Canonical link: https://commits.webkit.org/298335@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