Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/path-objects/2d.path.stroke.prune.curve.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/path-objects/2d.path.stroke.prune.curve.html b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/path-objects/2d.path.stroke.prune.curve.html |
deleted file mode 100644 |
index 2f0dd1e658bb85352cfd06bf5b6733c799da3735..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/path-objects/2d.path.stroke.prune.curve.html |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-<!DOCTYPE html> |
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. --> |
-<title>OffscreenCanvas test: 2d.path.stroke.prune.curve</title> |
-<script src="/resources/testharness.js"></script> |
-<script src="/resources/testharnessreport.js"></script> |
-<script src="/common/canvas-tests.js"></script> |
- |
-<h1>2d.path.stroke.prune.curve</h1> |
-<p class="desc">Zero-length line segments from quadraticCurveTo and bezierCurveTo are removed before stroking</p> |
- |
- |
-<script> |
-var t = async_test("Zero-length line segments from quadraticCurveTo and bezierCurveTo are removed before stroking"); |
-t.step(function() { |
- |
-var offscreenCanvas = new OffscreenCanvas(100, 50); |
-var ctx = offscreenCanvas.getContext('2d'); |
- |
-ctx.fillStyle = '#0f0'; |
-ctx.fillRect(0, 0, 100, 50); |
-ctx.strokeStyle = '#f00'; |
-ctx.lineWidth = 100; |
-ctx.lineCap = 'round'; |
-ctx.lineJoin = 'round'; |
-ctx.beginPath(); |
-ctx.moveTo(50, 25); |
-ctx.quadraticCurveTo(50, 25, 50, 25); |
-ctx.stroke(); |
-ctx.beginPath(); |
-ctx.moveTo(50, 25); |
-ctx.bezierCurveTo(50, 25, 50, 25, 50, 25); |
-ctx.stroke(); |
-_assertPixel(offscreenCanvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255"); |
- |
-t.done(); |
- |
-}); |
-</script> |