Alter Conic Gradient tests to be less subject to noise
https://bugs.webkit.org/show_bug.cgi?id=197806
<rdar://problem/47272067>

Reviewed by Wenson Hsieh.

There is a currently a bug where there's a lot of detectable noise in
the green gradients. Replace them with the less noisy magenta or blue.
<rdar://problem/50682535>

* fast/gradients/conic-extended-stops-expected.html:
* fast/gradients/conic-extended-stops.html:
* fast/gradients/conic-from-angle-expected.html:
* fast/gradients/conic-from-angle.html:
* fast/gradients/conic-gradient-expected.html:
* fast/gradients/conic-gradient-extended-stops-expected.html:
* fast/gradients/conic-gradient-extended-stops.html:
* fast/gradients/conic-gradient.html:
* fast/gradients/conic-off-center-expected.html:
* fast/gradients/conic-off-center.html:
* fast/gradients/conic-two-hints-expected.html:
* fast/gradients/conic-two-hints.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@245250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 1f22cab..b0e74e0 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,28 @@
+2019-05-13  Megan Gardner  <megan_gardner@apple.com>
+
+        Alter Conic Gradient tests to be less subject to noise
+        https://bugs.webkit.org/show_bug.cgi?id=197806
+        <rdar://problem/47272067>
+
+        Reviewed by Wenson Hsieh.
+
+        There is a currently a bug where there's a lot of detectable noise in
+        the green gradients. Replace them with the less noisy magenta or blue.
+        <rdar://problem/50682535>
+
+        * fast/gradients/conic-extended-stops-expected.html:
+        * fast/gradients/conic-extended-stops.html:
+        * fast/gradients/conic-from-angle-expected.html:
+        * fast/gradients/conic-from-angle.html:
+        * fast/gradients/conic-gradient-expected.html:
+        * fast/gradients/conic-gradient-extended-stops-expected.html:
+        * fast/gradients/conic-gradient-extended-stops.html:
+        * fast/gradients/conic-gradient.html:
+        * fast/gradients/conic-off-center-expected.html:
+        * fast/gradients/conic-off-center.html:
+        * fast/gradients/conic-two-hints-expected.html:
+        * fast/gradients/conic-two-hints.html:
+
 2019-05-13  Antti Koivisto  <antti@apple.com>
 
         REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html asserts
diff --git a/LayoutTests/fast/gradients/conic-extended-stops-expected.html b/LayoutTests/fast/gradients/conic-extended-stops-expected.html
index 5b93fed..cfdfc08 100644
--- a/LayoutTests/fast/gradients/conic-extended-stops-expected.html
+++ b/LayoutTests/fast/gradients/conic-extended-stops-expected.html
@@ -14,7 +14,7 @@
             height: 25px;
             width: 25px;
             clear: left;
-            background-color: green;
+            background-color: magenta;
         }
         #box3 {
             height: 25px;
diff --git a/LayoutTests/fast/gradients/conic-extended-stops.html b/LayoutTests/fast/gradients/conic-extended-stops.html
index 996ff74..55dc201 100644
--- a/LayoutTests/fast/gradients/conic-extended-stops.html
+++ b/LayoutTests/fast/gradients/conic-extended-stops.html
@@ -4,7 +4,7 @@
         #grad {
             height: 50px;
             width: 50px;
-            background: conic-gradient(blue -50deg, blue 90deg, orange 90deg, orange 180deg, green 180deg, green 270deg, blue 270deg, blue 540deg);
+            background: conic-gradient(blue -50deg, blue 90deg, orange 90deg, orange 180deg, magenta 180deg, magenta 270deg, blue 270deg, blue 540deg);
         }
     </style>
 </head>
diff --git a/LayoutTests/fast/gradients/conic-from-angle-expected.html b/LayoutTests/fast/gradients/conic-from-angle-expected.html
index 072265d..dbe06f8 100644
--- a/LayoutTests/fast/gradients/conic-from-angle-expected.html
+++ b/LayoutTests/fast/gradients/conic-from-angle-expected.html
@@ -8,14 +8,14 @@
         #top {
             width: 0; 
             height: 0; 
-            border-left: 100px solid green;
+            border-left: 100px solid magenta;
             border-right: 100px solid blue;
             border-top: 100px solid yellow;
         }
         #bottom {
             width: 0; 
             height: 0; 
-            border-left: 100px solid green;
+            border-left: 100px solid magenta;
             border-right: 100px solid blue;
             border-bottom: 100px solid orange;
         }
diff --git a/LayoutTests/fast/gradients/conic-from-angle.html b/LayoutTests/fast/gradients/conic-from-angle.html
index aa0af1a..2b30076 100644
--- a/LayoutTests/fast/gradients/conic-from-angle.html
+++ b/LayoutTests/fast/gradients/conic-from-angle.html
@@ -10,7 +10,7 @@
           background: conic-gradient(from 45deg,
                 blue 0deg, blue 90deg,
                 orange 0deg, orange 180deg,
-                green 0deg, green 270deg,
+                magenta 0deg, magenta 270deg,
                 yellow 0deg, yellow 360deg);
         }
         .x {
diff --git a/LayoutTests/fast/gradients/conic-gradient-expected.html b/LayoutTests/fast/gradients/conic-gradient-expected.html
index 322e169..3edd443 100644
--- a/LayoutTests/fast/gradients/conic-gradient-expected.html
+++ b/LayoutTests/fast/gradients/conic-gradient-expected.html
@@ -9,27 +9,27 @@
         #topleft {
             width: 0; 
             height: 0; 
-            border-left: 100px solid rgb(0,32,0);
+            border-left: 100px solid rgb(0,0,32);
             border-top: 100px solid rgb(0,0,0);
         }
         #topright {
             width: 0; 
             height: 0; 
-            border-right: 100px solid rgb(0,192,0);
-            border-top: 100px solid rgb(0,224,0);
+            border-right: 100px solid rgb(0,0,192);
+            border-top: 100px solid rgb(0,0,224);
         }
         #bottomleft {
             clear: left;
             width: 0; 
             height: 0; 
-            border-left: 100px solid rgb(0,64,0);
-            border-bottom: 100px solid rgb(0,96,0);
+            border-left: 100px solid rgb(0,0,64);
+            border-bottom: 100px solid rgb(0,0,96);
         }
         #bottomright {
             width: 0; 
             height: 0; 
-            border-right: 100px solid rgb(0,160,0);
-            border-bottom: 100px solid rgb(0,128,0);
+            border-right: 100px solid rgb(0,0,159);
+            border-bottom: 100px solid rgb(0,0,128);
         }
         .box {
             position: absolute;
diff --git a/LayoutTests/fast/gradients/conic-gradient-extended-stops-expected.html b/LayoutTests/fast/gradients/conic-gradient-extended-stops-expected.html
index f9260b4..6ebc937 100644
--- a/LayoutTests/fast/gradients/conic-gradient-extended-stops-expected.html
+++ b/LayoutTests/fast/gradients/conic-gradient-extended-stops-expected.html
@@ -9,27 +9,27 @@
         #topleft {
             width: 0; 
             height: 0; 
-            border-left: 100px solid rgb(0,80,0);
-            border-top: 100px solid rgb(0,64,0);
+            border-left: 100px solid rgb(0,0,80);
+            border-top: 100px solid rgb(0,0,64);
         }
         #topright {
             width: 0; 
             height: 0; 
-            border-right: 100px solid rgb(0,160,0);
-            border-top: 100px solid rgb(0,176,0);
+            border-right: 100px solid rgb(0,0,159);
+            border-top: 100px solid rgb(0,0,175);
         }
         #bottomleft {
             clear: left;
             width: 0; 
             height: 0; 
-            border-left: 100px solid rgb(0,96,0);
-            border-bottom: 100px solid rgb(0,112,0);
+            border-left: 100px solid rgb(0,0,96);
+            border-bottom: 100px solid rgb(0,0,112);
         }
         #bottomright {
             width: 0; 
             height: 0; 
-            border-right: 100px solid rgb(0,144,0);
-            border-bottom: 100px solid rgb(0,128,0);
+            border-right: 100px solid rgb(0,0,143);
+            border-bottom: 100px solid rgb(0,0,128);
         }
         .box {
             position: absolute;
diff --git a/LayoutTests/fast/gradients/conic-gradient-extended-stops.html b/LayoutTests/fast/gradients/conic-gradient-extended-stops.html
index 1bd4b59..6ee4157 100644
--- a/LayoutTests/fast/gradients/conic-gradient-extended-stops.html
+++ b/LayoutTests/fast/gradients/conic-gradient-extended-stops.html
@@ -13,7 +13,7 @@
         position: absolute;
         width: 200px;
         height: 200px;
-        background-image: conic-gradient(lime -180deg, black 540deg);
+        background-image: conic-gradient(blue -180deg, black 540deg);
         filter: url(#posterize);
     }
 
diff --git a/LayoutTests/fast/gradients/conic-gradient.html b/LayoutTests/fast/gradients/conic-gradient.html
index 73847024..8975e66 100644
--- a/LayoutTests/fast/gradients/conic-gradient.html
+++ b/LayoutTests/fast/gradients/conic-gradient.html
@@ -13,7 +13,7 @@
         position: absolute;
         width: 200px;
         height: 200px;
-        background-image: conic-gradient(lime, black);
+        background-image: conic-gradient(blue, black);
         filter: url(#posterize);
     }
 
diff --git a/LayoutTests/fast/gradients/conic-off-center-expected.html b/LayoutTests/fast/gradients/conic-off-center-expected.html
index 52883f2..8526ed8 100644
--- a/LayoutTests/fast/gradients/conic-off-center-expected.html
+++ b/LayoutTests/fast/gradients/conic-off-center-expected.html
@@ -14,7 +14,7 @@
             height: 40px;
             width: 10px;
             clear: left;
-            background-color: green;
+            background-color: magenta;
         }
         #box3 {
             height: 40px;
diff --git a/LayoutTests/fast/gradients/conic-off-center.html b/LayoutTests/fast/gradients/conic-off-center.html
index c73e2ed..0194fbd 100644
--- a/LayoutTests/fast/gradients/conic-off-center.html
+++ b/LayoutTests/fast/gradients/conic-off-center.html
@@ -4,7 +4,7 @@
         #grad {
             height: 50px;
             width: 50px;
-            background: conic-gradient(at 10px 10px, blue 0deg, blue 90deg, orange 90deg, orange 180deg, green 180deg, green 270deg, blue 270deg, blue 360deg);
+            background: conic-gradient(at 10px 10px, blue 0deg, blue 90deg, orange 90deg, orange 180deg, magenta 180deg, magenta 270deg, blue 270deg, blue 360deg);
         }
     </style>
 </head>
diff --git a/LayoutTests/fast/gradients/conic-two-hints-expected.html b/LayoutTests/fast/gradients/conic-two-hints-expected.html
index 7b71df1..5ffa8ea 100644
--- a/LayoutTests/fast/gradients/conic-two-hints-expected.html
+++ b/LayoutTests/fast/gradients/conic-two-hints-expected.html
@@ -19,7 +19,7 @@
             height: 25px;
             width: 25px;
             clear: left;
-            background-color: green;
+            background-color: magenta;
         }
     </style>
 </head>
diff --git a/LayoutTests/fast/gradients/conic-two-hints.html b/LayoutTests/fast/gradients/conic-two-hints.html
index 4392812..1f8cf85 100644
--- a/LayoutTests/fast/gradients/conic-two-hints.html
+++ b/LayoutTests/fast/gradients/conic-two-hints.html
@@ -4,7 +4,7 @@
         #grad {
             height: 50px;
             width: 50px;
-            background: conic-gradient(blue 0deg 90deg, green 90deg 180deg, orange 180deg 360deg);
+            background: conic-gradient(blue 0deg 90deg, magenta 90deg 180deg, orange 180deg 360deg);
         }
     </style>
 </head>