| Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/line-styles/2d.line.union.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/line-styles/2d.line.union.html b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/line-styles/2d.line.union.html
|
| deleted file mode 100644
|
| index 626a1a5852e691f404429077f69c1a3b4e9f3f6c..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/line-styles/2d.line.union.html
|
| +++ /dev/null
|
| @@ -1,40 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
|
| -<title>OffscreenCanvas test: 2d.line.union</title>
|
| -<script src="/resources/testharness.js"></script>
|
| -<script src="/resources/testharnessreport.js"></script>
|
| -<script src="/common/canvas-tests.js"></script>
|
| -
|
| -<h1>2d.line.union</h1>
|
| -<p class="desc"></p>
|
| -
|
| -
|
| -<script>
|
| -var t = async_test("");
|
| -t.step(function() {
|
| -
|
| -var offscreenCanvas = new OffscreenCanvas(100, 50);
|
| -var ctx = offscreenCanvas.getContext('2d');
|
| -
|
| -ctx.fillStyle = '#f00';
|
| -ctx.fillRect(0, 0, 100, 50);
|
| -ctx.lineWidth = 100;
|
| -ctx.lineCap = 'round';
|
| -ctx.strokeStyle = '#0f0';
|
| -ctx.beginPath();
|
| -ctx.moveTo(0, 24);
|
| -ctx.lineTo(100, 25);
|
| -ctx.lineTo(0, 26);
|
| -ctx.closePath();
|
| -ctx.stroke();
|
| -_assertPixel(offscreenCanvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255");
|
| -_assertPixel(offscreenCanvas, 25,1, 0,255,0,255, "25,1", "0,255,0,255");
|
| -_assertPixel(offscreenCanvas, 48,1, 0,255,0,255, "48,1", "0,255,0,255");
|
| -_assertPixel(offscreenCanvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255");
|
| -_assertPixel(offscreenCanvas, 25,1, 0,255,0,255, "25,1", "0,255,0,255");
|
| -_assertPixel(offscreenCanvas, 48,48, 0,255,0,255, "48,48", "0,255,0,255");
|
| -
|
| -t.done();
|
| -
|
| -});
|
| -</script>
|
|
|