Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 4d5ebef83e17f6201e006f379de304fac6d196b4 https://github.com/WebKit/WebKit/commit/4d5ebef83e17f6201e006f379de304fac6d196b4 Author: Matthieu Dubet <m_du...@apple.com> Date: 2025-09-18 (Thu, 18 Sep 2025)
Changed paths: M LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-invalidation-expected.txt M LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-nesting-expected.txt M LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-specificity-expected.txt M Source/WebCore/css/CSSSelector.cpp M Source/WebCore/css/CSSSelector.h M Source/WebCore/css/parser/CSSSelectorParser.cpp M Source/WebCore/css/parser/CSSSelectorParser.h M Source/WebCore/style/RuleSetBuilder.cpp Log Message: ----------- [CSS] nesting selector & directly inside @scope behaves like :where(:scope) https://bugs.webkit.org/show_bug.cgi?id=299017 rdar://160769736 Reviewed by Antti Koivisto. https://github.com/w3c/csswg-drafts/issues/9740 * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-invalidation-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-nesting-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/scope-specificity-expected.txt: * Source/WebCore/css/CSSSelector.cpp: (WebCore::CSSSelector::replaceNestingSelectorByWhereScope): (WebCore::CSSSelector::replaceNestingParentByPseudoClassScope): Deleted. * Source/WebCore/css/CSSSelector.h: * Source/WebCore/css/parser/CSSSelectorParser.cpp: (WebCore::CSSSelectorParser::resolveNestingParent): * Source/WebCore/css/parser/CSSSelectorParser.h: * Source/WebCore/style/RuleSetBuilder.cpp: (WebCore::Style::RuleSetBuilder::resolveSelectorListWithNesting): Canonical link: https://commits.webkit.org/300153@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes