| Index: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-to-canvas.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-to-canvas.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-to-canvas.js
|
| deleted file mode 100644
|
| index cb81d9e41ade3744093c3df883d94b7595fa5d9e..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-to-canvas.js
|
| +++ /dev/null
|
| @@ -1,19 +0,0 @@
|
| -description("Test to ensure that canvas-to-canvas drawImage after a stroked rect works correctly.");
|
| -var canvas = document.createElement('canvas');
|
| -var ctx = canvas.getContext('2d');
|
| -
|
| -ctx.lineWidth = 10;
|
| -ctx.beginPath();
|
| -ctx.strokeStyle = 'green';
|
| -ctx.strokeRect(0, 0, 100, 100);
|
| -
|
| -var ctx2 = document.createElement('canvas').getContext('2d');
|
| -
|
| -ctx2.fillStyle = 'red';
|
| -ctx2.fillRect(0, 0, 100, 100);
|
| -ctx2.drawImage(canvas, 0, 0);
|
| -var imageData = ctx2.getImageData(0, 0, 1, 1);
|
| -var imgdata = imageData.data;
|
| -shouldBe("imgdata[0]", "0");
|
| -shouldBe("imgdata[1]", "128");
|
| -shouldBe("imgdata[2]", "0");
|
|
|