| Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/transformations/2d.transformation.scale.zero.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/transformations/2d.transformation.scale.zero.html b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/transformations/2d.transformation.scale.zero.html
|
| deleted file mode 100644
|
| index 092ba86d3f9a9dd2259a547ec3522a8ba131b655..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/transformations/2d.transformation.scale.zero.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.transformation.scale.zero</title>
|
| -<script src="/resources/testharness.js"></script>
|
| -<script src="/resources/testharnessreport.js"></script>
|
| -<script src="/common/canvas-tests.js"></script>
|
| -
|
| -<h1>2d.transformation.scale.zero</h1>
|
| -<p class="desc">scale() with a scale factor of zero works</p>
|
| -
|
| -
|
| -<script>
|
| -var t = async_test("scale() with a scale factor of zero works");
|
| -t.step(function() {
|
| -
|
| -var offscreenCanvas = new OffscreenCanvas(100, 50);
|
| -var ctx = offscreenCanvas.getContext('2d');
|
| -
|
| -ctx.fillStyle = '#0f0';
|
| -ctx.fillRect(0, 0, 100, 50);
|
| -ctx.save();
|
| -ctx.translate(50, 0);
|
| -ctx.scale(0, 1);
|
| -ctx.fillStyle = '#f00';
|
| -ctx.fillRect(0, 0, 100, 50);
|
| -ctx.restore();
|
| -ctx.save();
|
| -ctx.translate(0, 25);
|
| -ctx.scale(1, 0);
|
| -ctx.fillStyle = '#f00';
|
| -ctx.fillRect(0, 0, 100, 50);
|
| -ctx.restore();
|
| -_assertPixel(offscreenCanvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");
|
| -
|
| -t.done();
|
| -
|
| -});
|
| -</script>
|
|
|