Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 2f1e72c1151bf0d90f09e8a0ad6795256c9035c0 https://github.com/WebKit/WebKit/commit/2f1e72c1151bf0d90f09e8a0ad6795256c9035c0 Author: Antti Koivisto <an...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes