Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ca01e51f31208ce0654b7e67b01e4d64241fcff0
https://github.com/WebKit/WebKit/commit/ca01e51f31208ce0654b7e67b01e4d64241fcff0
Author: Antti Koivisto <[email protected]>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M LayoutTests/TestExpectations
M
LayoutTests/imported/w3c/web-platform-tests/css/css-variables/revert-in-fallback-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-variables/revert-layer-in-fallback-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-variables/variable-css-wide-keywords-expected.txt
M Source/WebCore/css/parser/CSSPropertyParser.cpp
M Source/WebCore/css/parser/CSSPropertyParser.h
M Source/WebCore/style/StyleBuilder.cpp
Log Message:
-----------
"inherit" as variable substitution fallback not working when setting custom
property
https://bugs.webkit.org/show_bug.cgi?id=279740
rdar://136463977
Reviewed by Alan Baradlay.
Support CSS-wide keywords in var() fallbacks.
* LayoutTests/TestExpectations:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-variables/revert-in-fallback-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-variables/revert-layer-in-fallback-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-variables/variable-css-wide-keywords-expected.txt:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseCSSWideKeyword):
Expose the parsing function.
* Source/WebCore/css/parser/CSSPropertyParser.h:
* Source/WebCore/style/StyleBuilder.cpp:
(WebCore::Style::Builder::resolveCustomPropertyValue):
Try to parse unregistered custom property value as a keyword.
Canonical link: https://commits.webkit.org/296918@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes