| Index: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect.js
|
| deleted file mode 100644
|
| index 1f6bec705c1a08a159724565432cae8bea6bb868..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-fillRect.js
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -description("Series of tests to ensure correct behavior of canvas.fillRect().");
|
| -var ctx = document.createElement('canvas').getContext('2d');
|
| -
|
| -// Fill rect with height = width = 0.
|
| -debug("Test canvas.fillRect() with height = width = 0.");
|
| -ctx.fillStyle = 'red';
|
| -ctx.fillRect(0, 0, 0, 0);
|
| -
|
| -var imageData = ctx.getImageData(0, 0, 1, 1);
|
| -var imgdata = imageData.data;
|
| -shouldBe("imgdata[0]", "0");
|
| -shouldBe("imgdata[1]", "0");
|
| -shouldBe("imgdata[2]", "0");
|
| -
|
| -ctx.clearRect(0, 0, 1, 1);
|
| -
|
| -// Fill rect with height = 0, width = 1.
|
| -debug("Test canvas.fillRect() with height = 0, width = 1.");
|
| -ctx.fillStyle = 'red';
|
| -ctx.fillRect(0, 0, 1, 0);
|
| -
|
| -var imageData = ctx.getImageData(0, 0, 1, 1);
|
| -var imgdata = imageData.data;
|
| -shouldBe("imgdata[0]", "0");
|
| -shouldBe("imgdata[1]", "0");
|
| -shouldBe("imgdata[2]", "0");
|
| -
|
| -ctx.clearRect(0, 0, 1, 1);
|
| -
|
| -// Fill rect with height = 1, width = 0.
|
| -debug("Test canvas.fillRect() with height = 1, width = 0.");
|
| -ctx.fillStyle = 'red';
|
| -ctx.fillRect(0, 0, 0, 1);
|
| -
|
| -var imageData = ctx.getImageData(0, 0, 1, 1);
|
| -var imgdata = imageData.data;
|
| -shouldBe("imgdata[0]", "0");
|
| -shouldBe("imgdata[1]", "0");
|
| -shouldBe("imgdata[2]", "0");
|
| -
|
| -ctx.clearRect(0, 0, 1, 1);
|
|
|