[webkit-changes] [WebKit/WebKit] 2f1e72: [@property] syntax "<color> | <color>+" does not m...
Antti Koivisto
noreply at github.com
Sat Jan 21 01:24:19 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2f1e72c1151bf0d90f09e8a0ad6795256c9035c0
https://github.com/WebKit/WebKit/commit/2f1e72c1151bf0d90f09e8a0ad6795256c9035c0
Author: Antti Koivisto <antti at apple.com>
Date: 2023-01-21 (Sat, 21 Jan 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html
M Source/WebCore/css/parser/CSSPropertyParser.cpp
Log Message:
-----------
[@property] syntax "<color> | <color>+" does not match "yellow blue"
https://bugs.webkit.org/show_bug.cgi?id=250898
<rdar://problem/104475106>
Reviewed by Sam Weinig.
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/register-property-syntax-parsing.html:
Add more tests for lists and |.
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeCustomPropertyValueWithSyntax):
Always restore the state and continue when tokens don't match the syntax, or aren't consumed fully.
Canonical link: https://commits.webkit.org/259166@main
More information about the webkit-changes
mailing list