[webkit-changes] [WebKit/WebKit] 81a73e: Make background shorthand default to border-box wh...
fantasai
noreply at github.com
Sun Dec 8 14:15:51 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 81a73e57243b0b87283877932254911d1d141c20
https://github.com/WebKit/WebKit/commit/81a73e57243b0b87283877932254911d1d141c20
Author: Elika Etemad <fantasai.bugs at inkedblade.net>
Date: 2024-12-08 (Sun, 08 Dec 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-shorthand-serialization-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-shorthand-serialization.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-valid-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-valid.html
M Source/WebCore/css/ShorthandSerializer.cpp
M Source/WebCore/css/parser/CSSPropertyParser.cpp
Log Message:
-----------
Make background shorthand default to border-box when border-area specified
https://bugs.webkit.org/show_bug.cgi?id=283308
rdar://140142957
Reviewed by Tim Nguyen.
If the origin is not specified, but clip is given as border-area,
set origin to border-box.
See https://github.com/w3c/csswg-drafts/issues/11167
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-shorthand-serialization-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-shorthand-serialization.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-valid-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-valid.html:
* Source/WebCore/css/ShorthandSerializer.cpp:
(WebCore::ShorthandSerializer::serializeLayered const):
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeBackgroundShorthand):
Canonical link: https://commits.webkit.org/287521@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list