[webkit-changes] [WebKit/WebKit] 009a0e: [@property] Parse identifier list syntax
Antti Koivisto
noreply at github.com
Tue Dec 13 06:59:37 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 009a0ee1bc61a302f337561e47ef1458f0d6a462
https://github.com/WebKit/WebKit/commit/009a0ee1bc61a302f337561e47ef1458f0d6a462
Author: Antti Koivisto <antti at apple.com>
Date: 2022-12-13 (Tue, 13 Dec 2022)
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/typedom-expected.txt
M Source/WebCore/css/parser/CSSPropertySyntax.cpp
M Source/WebCore/css/parser/CSSPropertySyntax.h
Log Message:
-----------
[@property] Parse identifier list syntax
https://bugs.webkit.org/show_bug.cgi?id=249161
<rdar://problem/103262360>
Reviewed by Alan Baradlay.
* 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/typedom-expected.txt:
* Source/WebCore/css/parser/CSSPropertySyntax.cpp:
(WebCore::CSSPropertySyntax::parseComponent):
Allow ident+ and ident# syntax.
(WebCore::CSSPropertySyntax::parse):
(WebCore::CSSPropertySyntax::typeForTypeName):
Factor into a function.
* Source/WebCore/css/parser/CSSPropertySyntax.h:
Canonical link: https://commits.webkit.org/257786@main
More information about the webkit-changes
mailing list