[webkit-changes] [WebKit/WebKit] 6fc1d6: Use CSS tokenizer for parsing standalone pseudo-el...
Anne van Kesteren
noreply at github.com
Thu Jan 4 05:44:28 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6fc1d6cf00094896d8b7a58d7dcd0aa1efdee97c
https://github.com/WebKit/WebKit/commit/6fc1d6cf00094896d8b7a58d7dcd0aa1efdee97c
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-pseudo-expected.txt
M Source/WebCore/css/CSSSelector.cpp
M Source/WebCore/css/CSSSelector.h
Log Message:
-----------
Use CSS tokenizer for parsing standalone pseudo-elements
https://bugs.webkit.org/show_bug.cgi?id=266979
Reviewed by Tim Nguyen.
This ensures we do the correct thing for CSS escapes and also paves the
path for supporting FunctionToken and potentially deduplicating with
CSSSelectorParser::consumePseudo() in the future.
272607 at main added additional test coverage for various token inputs.
* LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-pseudo-expected.txt:
* Source/WebCore/css/CSSSelector.cpp:
(WebCore::CSSSelector::parseStandalonePseudoElement):
* Source/WebCore/css/CSSSelector.h:
Canonical link: https://commits.webkit.org/272649@main
More information about the webkit-changes
mailing list