haikuwebkit/LayoutTests/fast/gradients
Tim Nguyen 94d4a81b79 Omit default position/angle when serializing radial & conic gradients
https://bugs.webkit.org/show_bug.cgi?id=223892

Patch by Tim Nguyen <ntim@apple.com> on 2021-04-14
Reviewed by Antti Koivisto.

Test: LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/parsing/background-image-computed.sub.html

LayoutTests/imported/w3c:

* web-platform-tests/css/css-backgrounds/parsing/background-image-computed.sub-expected.txt:

Source/WebCore:

* css/CSSGradientValue.cpp:
(WebCore::ConicGradientAdapter::normalizeStopsAndEndpointsOutsideRange):
(WebCore::CSSLinearGradientValue::customCSSText const):
(WebCore::CSSRadialGradientValue::customCSSText const):
(WebCore::CSSConicGradientValue::customCSSText const):
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::isCenterPosition const):
* css/CSSPrimitiveValue.h:

LayoutTests:

* fast/gradients/unprefixed-gradient-parsing-expected.txt:
* fast/gradients/unprefixed-gradient-parsing.html:
* http/wpt/css/css-images-4/conic-gradient-parsing.html:

Canonical link: https://commits.webkit.org/236554@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-15 06:15:53 +00:00
..
background-clipped-expected.txt
background-clipped.html
background-image-repeat-space-expected.html
background-image-repeat-space.html
border-image-gradient-expected.txt
border-image-gradient-sides-and-corners-expected.txt
border-image-gradient-sides-and-corners.html
border-image-gradient.html
conic-calc-stop-position-expected.html
conic-calc-stop-position.html
conic-center-outside-box-expected.html
conic-center-outside-box.html
conic-expected.html
conic-extended-stops-expected.html
conic-extended-stops.html
conic-from-angle-expected.html
conic-from-angle.html
conic-gradient-alpha-expected.html
conic-gradient-alpha.html
conic-gradient-expected.html
conic-gradient-extended-stops-expected.html
conic-gradient-extended-stops.html
conic-gradient.html
conic-off-center-expected.html
conic-off-center.html
conic-repeating-expected.html
conic-repeating-last-stop-expected.html
conic-repeating-last-stop.html
conic-repeating.html
conic-two-hints-expected.html
conic-two-hints.html
conic.html
crash-on-1px-border-expected.txt
crash-on-1px-border.html
crash-on-degenerate-gradient-expected.txt
crash-on-degenerate-gradient.html
crash-on-no-position-separator-expected.txt
crash-on-no-position-separator.html
crash-on-remove-expected.txt
crash-on-remove.html
crash-on-tr-expected.txt
crash-on-tr.html
crash-on-zero-radius.html
css3-color-stop-invalid-expected.html
css3-color-stop-invalid.html
css3-color-stop-units-expected.txt
css3-color-stop-units.html
css3-color-stops-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
css3-color-stops.html
css3-gradient-parsing-expected.txt [CSS Parser] Unskip gradients tests 2016-12-08 02:18:27 +00:00
css3-gradient-parsing.html
css3-linear-angle-gradients-expected.txt
css3-linear-angle-gradients.html
css3-linear-right-angle-gradients-expected.txt
css3-linear-right-angle-gradients.html
css3-radial-gradient-crash-expected.txt
css3-radial-gradient-crash.html
css3-radial-gradients-expected.txt
css3-radial-gradients.html
css3-radial-gradients2-expected.txt
css3-radial-gradients2.html
css3-radial-gradients3-expected.txt
css3-radial-gradients3.html
css3-repeating-end-fill-expected.png
css3-repeating-end-fill-expected.txt
css3-repeating-end-fill.html
css3-repeating-linear-gradients-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
css3-repeating-linear-gradients.html
css3-repeating-linear-gradients2-expected.txt
css3-repeating-linear-gradients2.html
css3-repeating-radial-gradients-crash-expected.txt
css3-repeating-radial-gradients-crash.html CSSGradientValue should check whether gradientLength is zero or not. 2015-10-06 01:22:48 +00:00
css3-repeating-radial-gradients-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
css3-repeating-radial-gradients.html
generated-gradients.html
gradient-after-transparent-border-expected.txt
gradient-after-transparent-border.html
gradient-on-pseudoelement-crash-expected.txt 2011-01-11 Simon Fraser <simon.fraser@apple.com> 2011-01-12 05:25:00 +00:00
gradient-on-pseudoelement-crash.html
linear-two-hints-angle-expected.html
linear-two-hints-angle.html
linear-two-hints-expected.html
linear-two-hints.html
list-item-gradient.html
parse-radial-gradient-crash-expected.txt
parse-radial-gradient-crash.html
radial-centered.html
radial-two-hints-expected.html
radial-two-hints.html
simple-gradients.html
unprefixed-color-stop-units-expected.txt
unprefixed-color-stop-units.html
unprefixed-color-stops-expected.txt
unprefixed-color-stops.html
unprefixed-color-stops2-expected.txt
unprefixed-color-stops2.html
unprefixed-generated-gradients-expected.txt
unprefixed-generated-gradients.html
unprefixed-gradient-parsing-expected.txt
unprefixed-gradient-parsing.html
unprefixed-linear-angle-gradients-expected.txt
unprefixed-linear-angle-gradients.html
unprefixed-linear-angle-gradients2-expected.txt
unprefixed-linear-angle-gradients2.html
unprefixed-linear-right-angle-gradients-expected.txt
unprefixed-linear-right-angle-gradients.html
unprefixed-list-item-gradient-expected.txt Source/WebCore: Update CSS3 gradient support to the latest spec version and unprefix. 2013-01-16 06:15:31 +00:00
unprefixed-list-item-gradient.html
unprefixed-radial-gradients-expected.txt
unprefixed-radial-gradients.html
unprefixed-radial-gradients2-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
unprefixed-radial-gradients2.html
unprefixed-radial-gradients3-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
unprefixed-radial-gradients3.html
unprefixed-repeating-end-fill-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
unprefixed-repeating-end-fill.html
unprefixed-repeating-linear-gradient-expected.txt
unprefixed-repeating-linear-gradient.html Add support for midpoint to CSS gradients 2014-10-02 00:49:37 +00:00
unprefixed-repeating-radial-gradients-expected.txt
unprefixed-repeating-radial-gradients.html Add support for midpoint to CSS gradients 2014-10-02 00:49:37 +00:00
unprefixed-zero-range-repeating-gradient-hang-expected.txt
unprefixed-zero-range-repeating-gradient-hang.html
viewport-units-gradient-expected.html
viewport-units-gradient.html
zero-range-repeating-gradient-hang-expected.png
zero-range-repeating-gradient-hang-expected.txt
zero-range-repeating-gradient-hang.html