Changeset 218990 in webkit
- Timestamp:
- Jun 30, 2017 12:34:01 AM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r218986 r218990 1 2017-06-30 Dean Jackson <dino@apple.com> 2 3 REGRESSION (High Sierra): Gradient LayoutTests are failing 4 https://bugs.webkit.org/show_bug.cgi?id=174015 5 <rdar://problem/32332022> 6 7 Reviewed by Tim Horton. 8 9 Add the fudge factor to more of the gradient tests. 10 11 * canvas/philip/tests.js: 12 (_assertPixelWithGradientNoise): Bump the factor up a bit. 13 * canvas/philip/tests/2d.gradient.interpolate.multiple.html: 14 * canvas/philip/tests/2d.gradient.interpolate.solid.html: 15 * canvas/philip/tests/2d.gradient.radial.transform.1.html: 16 * canvas/philip/tests/2d.gradient.radial.transform.2.html: 17 * canvas/philip/tests/2d.gradient.radial.transform.3.html: 18 * canvas/philip/tests/initial.reset.gradient.html: 19 1 20 2017-06-29 Chris Fleizach <cfleizach@apple.com> 2 21 -
trunk/LayoutTests/canvas/philip/tests.js
r215291 r218990 99 99 function _assertPixelWithGradientNoise(canvas, x,y, r,g,b,a, pos, colour) 100 100 { 101 _assertPixelApprox(canvas, x, y, r, g, b, a, pos, colour, 3);101 _assertPixelApprox(canvas, x, y, r, g, b, a, pos, colour, 5); 102 102 } 103 103 -
trunk/LayoutTests/canvas/philip/tests/2d.gradient.interpolate.multiple.html
r71481 r218990 20 20 ctx.fillStyle = g; 21 21 ctx.fillRect(0, 0, 200, 50); 22 _assertPixel Approx(canvas, 50,25, 127,255,127,255, "50,25", "127,255,127,255", 3);23 _assertPixel Approx(canvas, 100,25, 0,255,255,255, "100,25", "0,255,255,255", 3);24 _assertPixel Approx(canvas, 150,25, 127,127,255,255, "150,25", "127,127,255,255", 3);22 _assertPixelWithGradientNoise(canvas, 50,25, 127,255,127,255, "50,25", "127,255,127,255"); 23 _assertPixelWithGradientNoise(canvas, 100,25, 0,255,255,255, "100,25", "0,255,255,255"); 24 _assertPixelWithGradientNoise(canvas, 150,25, 127,127,255,255, "150,25", "127,127,255,255"); 25 25 26 26 -
trunk/LayoutTests/canvas/philip/tests/2d.gradient.interpolate.solid.html
r71481 r218990 18 18 ctx.fillStyle = g; 19 19 ctx.fillRect(0, 0, 100, 50); 20 _assertPixel (canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");20 _assertPixelWithGradientNoise(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); 21 21 22 22 -
trunk/LayoutTests/canvas/philip/tests/2d.gradient.radial.transform.1.html
r71481 r218990 22 22 ctx.scale(10, 10); 23 23 ctx.fillRect(-5, -2.5, 10, 5); 24 _assertPixel (canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");25 _assertPixel (canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");26 _assertPixel (canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");24 _assertPixelWithGradientNoise(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); 25 _assertPixelWithGradientNoise(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); 26 _assertPixelWithGradientNoise(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); 27 27 28 28 -
trunk/LayoutTests/canvas/philip/tests/2d.gradient.radial.transform.2.html
r71481 r218990 23 23 ctx.scale(10, 10); 24 24 ctx.fillRect(-5, -2.5, 10, 5); 25 _assertPixel (canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");26 _assertPixel (canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");27 _assertPixel (canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");25 _assertPixelWithGradientNoise(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); 26 _assertPixelWithGradientNoise(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); 27 _assertPixelWithGradientNoise(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); 28 28 29 29 -
trunk/LayoutTests/canvas/philip/tests/2d.gradient.radial.transform.3.html
r71481 r218990 23 23 ctx.scale(10, 10); 24 24 ctx.fillRect(-5, -2.5, 10, 5); 25 _assertPixel (canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");26 _assertPixel (canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");27 _assertPixel (canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");25 _assertPixelWithGradientNoise(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255"); 26 _assertPixelWithGradientNoise(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); 27 _assertPixelWithGradientNoise(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255"); 28 28 29 29 -
trunk/LayoutTests/canvas/philip/tests/initial.reset.gradient.html
r71481 r218990 22 22 ctx.fillStyle = g; 23 23 ctx.fillRect(0, 0, 100, 50); 24 _assertPixel (canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");24 _assertPixelWithGradientNoise(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); 25 25 26 26
Note: See TracChangeset
for help on using the changeset viewer.