[webkit-changes] [WebKit/WebKit] 65a79b: [@property] Support <image> and <url> syntax
Antti Koivisto
noreply at github.com
Sun Dec 11 08:41:53 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 65a79bcd6331c1c40495abf5d7f692e3567deb1f
https://github.com/WebKit/WebKit/commit/65a79bcd6331c1c40495abf5d7f692e3567deb1f
Author: Antti Koivisto <antti at apple.com>
Date: 2022-12-11 (Sun, 11 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/registered-property-initial-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/typedom-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/url-resolution-expected.txt
M Source/WebCore/css/CSSCustomPropertyValue.cpp
M Source/WebCore/css/CSSCustomPropertyValue.h
M Source/WebCore/css/DOMCSSRegisterCustomProperty.cpp
M Source/WebCore/css/parser/CSSPropertyParser.cpp
M Source/WebCore/css/parser/CSSPropertyParser.h
M Source/WebCore/css/parser/CSSPropertySyntax.cpp
M Source/WebCore/css/parser/CSSPropertySyntax.h
Log Message:
-----------
[@property] Support <image> and <url> syntax
https://bugs.webkit.org/show_bug.cgi?id=249088
rdar://103224027
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/registered-property-initial-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/typedom-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/url-resolution-expected.txt:
* Source/WebCore/css/CSSCustomPropertyValue.cpp:
(WebCore::CSSCustomPropertyValue::customCSSText const):
* Source/WebCore/css/CSSCustomPropertyValue.h:
* Source/WebCore/css/DOMCSSRegisterCustomProperty.cpp:
(WebCore::DOMCSSRegisterCustomProperty::registerProperty):
Pass the correct CSSParserContext.
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseTypedCustomPropertyValue):
(WebCore::CSSPropertyParser::parseCustomPropertyValueWithSyntaxDefinition):
* Source/WebCore/css/parser/CSSPropertyParser.h:
* Source/WebCore/css/parser/CSSPropertySyntax.cpp:
(WebCore::CSSPropertySyntax::parseComponent):
* Source/WebCore/css/parser/CSSPropertySyntax.h:
Canonical link: https://commits.webkit.org/257701@main
More information about the webkit-changes
mailing list