Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c0c6ad146d33ff23f151c5b283baedd72f840d91
https://github.com/WebKit/WebKit/commit/c0c6ad146d33ff23f151c5b283baedd72f840d91
Author: Darin Adler <[email protected]>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M LayoutTests/fast/borders/border-image-legacy.html
M
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/border-image-shorthand.sub-expected.txt
M
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/border-image-shorthand.sub-expected.txt
M Source/WebCore/css/StyleProperties.cpp
M Source/WebCore/css/parser/CSSPropertyParser.cpp
Log Message:
-----------
border-image-* returns the initial keyword instead of the initial value when
setting border-image shorthand
https://bugs.webkit.org/show_bug.cgi?id=244657
rdar://problem/99420050
Reviewed by Sam Weinig.
* LayoutTests/fast/borders/border-image-legacy.html: Expect initial values
instead of the
keyword "initial" for specified style.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/border-image-shorthand.sub-expected.txt:
Expect PASS.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/border-image-shorthand.sub-expected.txt:
Ditto.
* Source/WebCore/css/StyleProperties.cpp:
(WebCore::StyleProperties::borderImagePropertyValue const): Change the code
that checks for
implicit values to not require use of the initial keyword.
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeBorderImage): Set initial values using the
actual values
rather than the initial keyword.
Canonical link: https://commits.webkit.org/257119@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes