[webkit-changes] [WebKit/WebKit] bda8e4: [view-transitions] Parse class selectors inside vi...
Tim Nguyen
noreply at github.com
Fri Aug 16 13:02:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bda8e40de683e7dafb985a698894760a6d54aa3b
https://github.com/WebKit/WebKit/commit/bda8e40de683e7dafb985a698894760a6d54aa3b
Author: Tim Nguyen <ntim at apple.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/pseudo-elements-valid-with-classes-expected.txt
M Source/WebCore/css/CSSSelector.cpp
M Source/WebCore/css/parser/CSSSelectorParser.cpp
M Source/WebCore/css/parser/CSSSelectorParserContext.cpp
M Source/WebCore/css/parser/CSSSelectorParserContext.h
Log Message:
-----------
[view-transitions] Parse class selectors inside view transition pseudo-elements
https://bugs.webkit.org/show_bug.cgi?id=278222
rdar://134019937
Reviewed by Simon Fraser.
Parse the following:
- ::view-transition-group(.foo.bar)
- ::view-transition-group(name.foo.bar)
- ::view-transition-group(*.foo.bar)
Also implement serialization and specificity.
https://drafts.csswg.org/css-view-transitions-2/#pseudo-element-class-additions
* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/parsing/pseudo-elements-valid-with-classes-expected.txt:
* Source/WebCore/css/CSSSelector.cpp:
(WebCore::simpleSelectorSpecificity):
(WebCore::CSSSelector::selectorText const):
* Source/WebCore/css/parser/CSSSelectorParser.cpp:
(WebCore::CSSSelectorParser::consumePseudo):
* Source/WebCore/css/parser/CSSSelectorParserContext.cpp:
(WebCore::CSSSelectorParserContext::CSSSelectorParserContext):
(WebCore::add):
* Source/WebCore/css/parser/CSSSelectorParserContext.h:
Canonical link: https://commits.webkit.org/282364@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