Title: [251492] trunk
Revision
251492
Author
[email protected]
Date
2019-10-23 13:14:54 -0700 (Wed, 23 Oct 2019)

Log Message

wpt/css/css-images/gradient/color-stops-parsing.html fails
https://bugs.webkit.org/show_bug.cgi?id=200211

Reviewed by Dean Jackson.
LayoutTests/imported/w3c:

New result.

* web-platform-tests/css/css-images/gradient/color-stops-parsing-expected.txt:

Source/WebCore:

CSS gradients allow a single color stop to have multiple positions. In this case
we need to copy the color from the first to subsequent stops.

Tested by web-platform-tests/css/css-images/gradient/color-stops-parsing.html
and imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html.

* css/CSSGradientValue.cpp:
(WebCore::CSSGradientValue::gradientWithStylesResolved): Copy colors to subsequent stops.
* css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeGradientColorStops): Fix the parsing of
stops with multiple positions.

LayoutTests:

Mark the conic gradient test as skipped, then passing on Mojave+.

* TestExpectations:
* platform/mac/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (251491 => 251492)


--- trunk/LayoutTests/ChangeLog	2019-10-23 20:02:05 UTC (rev 251491)
+++ trunk/LayoutTests/ChangeLog	2019-10-23 20:14:54 UTC (rev 251492)
@@ -241,6 +241,18 @@
         * svg/custom/pointer-events-text-css-transform.svg:
         * svg/custom/pointer-events-text.svg:
 
+2019-10-22  Simon Fraser  <[email protected]>
+
+        wpt/css/css-images/gradient/color-stops-parsing.html fails
+        https://bugs.webkit.org/show_bug.cgi?id=200211
+
+        Reviewed by Dean Jackson.
+
+        Mark the conic gradient test as skipped, then passing on Mojave+.
+
+        * TestExpectations:
+        * platform/mac/TestExpectations:
+
 2019-10-22  youenn fablet  <[email protected]>
 
         Carriage return character sometimes missing in SDP c-line

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (251491 => 251492)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2019-10-23 20:02:05 UTC (rev 251491)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2019-10-23 20:14:54 UTC (rev 251492)
@@ -76,6 +76,17 @@
 
         * web-platform-tests/svg/historical-expected.txt:
 
+2019-10-22  Simon Fraser  <[email protected]>
+
+        wpt/css/css-images/gradient/color-stops-parsing.html fails
+        https://bugs.webkit.org/show_bug.cgi?id=200211
+
+        Reviewed by Dean Jackson.
+        
+        New result.
+
+        * web-platform-tests/css/css-images/gradient/color-stops-parsing-expected.txt:
+
 2019-10-22  Peng Liu  <[email protected]>
 
         Cannot run some WPT cases manually

Modified: trunk/Source/WebCore/ChangeLog (251491 => 251492)


--- trunk/Source/WebCore/ChangeLog	2019-10-23 20:02:05 UTC (rev 251491)
+++ trunk/Source/WebCore/ChangeLog	2019-10-23 20:14:54 UTC (rev 251492)
@@ -347,6 +347,25 @@
         * rendering/svg/RenderSVGShape.cpp:
         (WebCore::RenderSVGShape::nodeAtFloatPoint):
 
+2019-10-22  Simon Fraser  <[email protected]>
+
+        wpt/css/css-images/gradient/color-stops-parsing.html fails
+        https://bugs.webkit.org/show_bug.cgi?id=200211
+
+        Reviewed by Dean Jackson.
+
+        CSS gradients allow a single color stop to have multiple positions. In this case
+        we need to copy the color from the first to subsequent stops.
+
+        Tested by web-platform-tests/css/css-images/gradient/color-stops-parsing.html
+        and imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html.
+
+        * css/CSSGradientValue.cpp:
+        (WebCore::CSSGradientValue::gradientWithStylesResolved): Copy colors to subsequent stops.
+        * css/parser/CSSPropertyParserHelpers.cpp:
+        (WebCore::CSSPropertyParserHelpers::consumeGradientColorStops): Fix the parsing of
+        stops with multiple positions.
+
 2019-10-22  youenn fablet  <[email protected]>
 
         Carriage return character sometimes missing in SDP c-line
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to