summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/2dcontext/fill-and-stroke-styles/2d.pattern.basic.canvas.html
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-02-04 19:41:06 +0000
committerMoonchild <moonchild@palemoon.org>2021-02-04 19:41:06 +0000
commit914368530ba622ff0117cd34bec058fb0d862155 (patch)
tree6c29459914d1b01ed27fad039d0b982d1dbc32c3 /testing/web-platform/tests/2dcontext/fill-and-stroke-styles/2d.pattern.basic.canvas.html
parentc5ad76a2875ca5c06c5bbff7b2f2e3ff7b3599c3 (diff)
downloadUXP-914368530ba622ff0117cd34bec058fb0d862155.tar
UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.gz
UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.lz
UXP-914368530ba622ff0117cd34bec058fb0d862155.tar.xz
UXP-914368530ba622ff0117cd34bec058fb0d862155.zip
Issue #439 - Remove web-platform tests from the tree.
This removes a total of 23,936 files we would never use nor have the capacity to properly maintain or keep up-to-date.
Diffstat (limited to 'testing/web-platform/tests/2dcontext/fill-and-stroke-styles/2d.pattern.basic.canvas.html')
-rw-r--r--testing/web-platform/tests/2dcontext/fill-and-stroke-styles/2d.pattern.basic.canvas.html49
1 files changed, 0 insertions, 49 deletions
diff --git a/testing/web-platform/tests/2dcontext/fill-and-stroke-styles/2d.pattern.basic.canvas.html b/testing/web-platform/tests/2dcontext/fill-and-stroke-styles/2d.pattern.basic.canvas.html
deleted file mode 100644
index 3bdc679c5..000000000
--- a/testing/web-platform/tests/2dcontext/fill-and-stroke-styles/2d.pattern.basic.canvas.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.pattern.basic.canvas</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/common/canvas-tests.js"></script>
-<link rel="stylesheet" href="/common/canvas-tests.css">
-<body class="show_output">
-
-<h1>2d.pattern.basic.canvas</h1>
-<p class="desc"></p>
-
-
-<p class="output">Actual output:</p>
-<canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>
-<p class="output expectedtext">Expected output:<p><img src="/images/green-100x50.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 100, 50);
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = 100;
-canvas2.height = 50;
-var ctx2 = canvas2.getContext('2d');
-ctx2.fillStyle = '#0f0';
-ctx2.fillRect(0, 0, 100, 50);
-
-var pattern = ctx.createPattern(canvas2, 'no-repeat');
-ctx.fillStyle = pattern;
-ctx.fillRect(0, 0, 100, 50);
-
-_assertPixel(canvas, 1,1, 0,255,0,255, "1,1", "0,255,0,255");
-_assertPixel(canvas, 50,1, 0,255,0,255, "50,1", "0,255,0,255");
-_assertPixel(canvas, 98,1, 0,255,0,255, "98,1", "0,255,0,255");
-_assertPixel(canvas, 1,25, 0,255,0,255, "1,25", "0,255,0,255");
-_assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");
-_assertPixel(canvas, 98,25, 0,255,0,255, "98,25", "0,255,0,255");
-_assertPixel(canvas, 1,48, 0,255,0,255, "1,48", "0,255,0,255");
-_assertPixel(canvas, 50,48, 0,255,0,255, "50,48", "0,255,0,255");
-_assertPixel(canvas, 98,48, 0,255,0,255, "98,48", "0,255,0,255");
-
-
-});
-</script>
-