[webkit-changes] [WebKit/WebKit] 07addd: [CSS] @scope prelude doesn't accept pseudo-elements
Matthieu Dubet
noreply at github.com
Fri Jan 31 06:14:49 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 07adddca3660c33dcb233d5ab99c1fee9d4f17bd
https://github.com/WebKit/WebKit/commit/07adddca3660c33dcb233d5ab99c1fee9d4f17bd
Author: Matthieu Dubet <m_dubet at apple.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-parsing-expected.txt
M Source/WebCore/css/parser/CSSParserImpl.cpp
M Source/WebCore/css/parser/CSSSelectorParser.cpp
M Source/WebCore/css/parser/CSSSelectorParser.h
Log Message:
-----------
[CSS] @scope prelude doesn't accept pseudo-elements
https://bugs.webkit.org/show_bug.cgi?id=286779
Reviewed by Brent Fulgham.
https://drafts.csswg.org/css-cascade-6/#scope-syntax
"Pseudo-elements cannot be scoping roots or scoping limits;
they are invalid both within <scope-start> and <scope-end>.""
* LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/at-scope-parsing-expected.txt:
* Source/WebCore/css/parser/CSSParserImpl.cpp:
(WebCore::CSSParserImpl::consumeScopeRule):
(WebCore::CSSParserImpl::consumeStyleRule):
* Source/WebCore/css/parser/CSSSelectorParser.cpp:
(WebCore::parseMutableCSSSelectorList):
(WebCore::parseCSSSelectorList):
(WebCore::CSSSelectorParser::CSSSelectorParser):
* Source/WebCore/css/parser/CSSSelectorParser.h:
(WebCore::CSSSelectorParser::CSSSelectorParser):
Canonical link: https://commits.webkit.org/289605@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list