[webkit-changes] [WebKit/WebKit] 8c3641: [css-images-4] Gradients with only one stop should...
roberto-apple
noreply at github.com
Tue Jan 28 15:10:54 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8c3641653fb098c034989b508663330a16e5d5b0
https://github.com/WebKit/WebKit/commit/8c3641653fb098c034989b508663330a16e5d5b0
Author: Roberto Rodriguez <roberto_rodriguez2 at apple.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/fast/gradients/css3-gradient-parsing-expected.txt
M LayoutTests/fast/gradients/css3-gradient-parsing.html
M LayoutTests/fast/gradients/unprefixed-gradient-parsing-expected.txt
M LayoutTests/fast/gradients/unprefixed-gradient-parsing.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-stops-parsing-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-001.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-002.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-003.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-004.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-005.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-006.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-007.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-008.html
M LayoutTests/imported/w3c/web-platform-tests/css/css-images/image-set/image-set-parsing-expected.txt
M Source/WebCore/css/parser/CSSPropertyParserConsumer+Image.cpp
Log Message:
-----------
[css-images-4] Gradients with only one stop should be supported
https://bugs.webkit.org/show_bug.cgi?id=285413
rdar://142796999
Reviewed by Tim Nguyen.
Allow gradients to support only a single stop.
Update test expectations to reflect code change.
Add fuzziness to single stop tests to account for gradient noise.
* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-stops-parsing-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-001.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-002.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-003.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-004.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-005.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-006.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-007.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/gradient-single-stop-008.html:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Image.cpp:
(WebCore::CSSPropertyParserHelpers::consumeColorStopList):
Canonical link: https://commits.webkit.org/289469@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