Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c6177048cd501236c4297419b0597518b490f586
https://github.com/WebKit/WebKit/commit/c6177048cd501236c4297419b0597518b490f586
Author: Matthieu Dubet <[email protected]>
Date: 2025-06-16 (Mon, 16 Jun 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-declarations-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-nesting-expected.txt
M Source/WebCore/css/CSSGroupingRule.cpp
M Source/WebCore/css/StyleSheetContents.cpp
M Source/WebCore/css/parser/CSSParser.cpp
M Source/WebCore/style/RuleSetBuilder.cpp
Log Message:
-----------
[CSS] Allow declarations inside @scope rule without style rule ancestor
https://bugs.webkit.org/show_bug.cgi?id=287909
rdar://145101643
Reviewed by Antti Koivisto.
https://github.com/w3c/csswg-drafts/issues/10389
https://drafts.csswg.org/css-cascade-6/#scope-scope
*
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-declarations-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-nesting-expected.txt:
* Source/WebCore/css/CSSGroupingRule.cpp:
(WebCore::CSSGroupingRule::insertRule):
* Source/WebCore/css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::hasNestingRules const):
* Source/WebCore/css/parser/CSSParser.cpp:
(WebCore::CSSParser::consumeNestedGroupRules):
(WebCore::CSSParser::consumeBlockContent):
* Source/WebCore/style/RuleSetBuilder.cpp:
(WebCore::Style::RuleSetBuilder::addStyleRule):
Canonical link: https://commits.webkit.org/296262@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