| Index: third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/shadows/2d.shadow.gradient.alpha.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/shadows/2d.shadow.gradient.alpha.html b/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/shadows/2d.shadow.gradient.alpha.html
|
| deleted file mode 100644
|
| index 50e781675aa75109dba44e25271bd7a16da9d060..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/offscreen-canvas/shadows/2d.shadow.gradient.alpha.html
|
| +++ /dev/null
|
| @@ -1,33 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
|
| -<title>OffscreenCanvas test: 2d.shadow.gradient.alpha</title>
|
| -<script src="/resources/testharness.js"></script>
|
| -<script src="/resources/testharnessreport.js"></script>
|
| -<script src="/common/canvas-tests.js"></script>
|
| -
|
| -<h1>2d.shadow.gradient.alpha</h1>
|
| -<p class="desc">Shadows are drawn correctly for partially-transparent gradient fills</p>
|
| -
|
| -
|
| -<script>
|
| -var t = async_test("Shadows are drawn correctly for partially-transparent gradient fills");
|
| -t.step(function() {
|
| -
|
| -var offscreenCanvas = new OffscreenCanvas(100, 50);
|
| -var ctx = offscreenCanvas.getContext('2d');
|
| -
|
| -var gradient = ctx.createLinearGradient(0, 0, 100, 0);
|
| -gradient.addColorStop(0, 'rgba(255,0,0,0.5)');
|
| -gradient.addColorStop(1, 'rgba(255,0,0,0.5)');
|
| -ctx.fillStyle = '#f00';
|
| -ctx.fillRect(0, 0, 100, 50);
|
| -ctx.shadowOffsetY = 50;
|
| -ctx.shadowColor = '#00f';
|
| -ctx.fillStyle = gradient;
|
| -ctx.fillRect(0, -50, 100, 50);
|
| -_assertPixelApprox(offscreenCanvas, 50,25, 127,0,127,255, "50,25", "127,0,127,255", 2);
|
| -
|
| -t.done();
|
| -
|
| -});
|
| -</script>
|
|
|