| Index: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect-zeroSizeGradient.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect-zeroSizeGradient.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect-zeroSizeGradient.js
|
| deleted file mode 100644
|
| index cab8c78cf7b6ef03763619dc12466d461709f4d5..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect-zeroSizeGradient.js
|
| +++ /dev/null
|
| @@ -1,17 +0,0 @@
|
| -description("Series of tests to ensure that fillRect() paints nothing on canvas when the fillStyle is set to a zero-size gradient.");
|
| -var ctx = document.createElement('canvas').getContext('2d');
|
| -
|
| -ctx.fillStyle = '#0f0';
|
| -ctx.fillRect(0, 0, 1, 1);
|
| -
|
| -var g = ctx.createLinearGradient(0, 0, 0, 0); // zero-length line (undefined direction);
|
| -g.addColorStop(0, '#f00');
|
| -g.addColorStop(1, '#f00');
|
| -ctx.fillStyle = g;
|
| -ctx.fillRect(0, 0, 1 ,1);
|
| -
|
| -var imageData = ctx.getImageData(0, 0, 1, 1);
|
| -var imgdata = imageData.data;
|
| -shouldBe("imgdata[0]", "0");
|
| -shouldBe("imgdata[1]", "255");
|
| -shouldBe("imgdata[2]", "0");
|
|
|