summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/2dcontext/compositing
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-02-25 01:03:57 +0000
committerMoonchild <moonchild@palemoon.org>2021-02-25 01:03:57 +0000
commitceadffab6b357723981a429e11222daf6cd6dcfb (patch)
tree5603053048d6a460f79b22bdf165fb74d32d39b0 /testing/web-platform/tests/2dcontext/compositing
parent14fb2f966e9b54598c451e3cb35b4aa0480dafed (diff)
parentad5a13bd501e379517da1a944c104a11d951a3f5 (diff)
downloadUXP-RC_20210225.tar
UXP-RC_20210225.tar.gz
UXP-RC_20210225.tar.lz
UXP-RC_20210225.tar.xz
UXP-RC_20210225.zip
Merge branch 'master' into releaseRC_20210225
Diffstat (limited to 'testing/web-platform/tests/2dcontext/compositing')
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/.gitkeep0
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.copy.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.copy.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-atop.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-atop.pngbin221 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-in.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-in.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-out.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-out.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-over.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-over.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.lighter.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.lighter.pngbin209 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-atop.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-atop.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-in.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-in.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-out.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-out.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-over.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-over.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.xor.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.xor.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.copy.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-atop.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-in.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-out.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-over.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.lighter.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-atop.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-in.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-out.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-over.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.xor.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.canvas.html38
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.canvaspattern.html39
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.default.html27
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.fill.html32
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.image.html32
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.imagepattern.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.invalid.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.range.html36
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.copy.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.copy.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-atop.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-atop.pngbin221 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-in.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-in.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-out.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-out.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-over.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-over.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.lighter.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.lighter.pngbin209 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-atop.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-atop.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-in.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-in.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-out.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-out.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-over.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-over.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.xor.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.image.xor.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.casesensitive.html29
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.clear.html29
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.darker.html29
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.default.html27
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.get.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.highlight.html29
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.nullsuffix.html29
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.over.html29
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.unrecognised.html29
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.copy.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.copy.pngbin205 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-atop.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-atop.pngbin206 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-in.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-in.pngbin206 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-out.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-out.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-over.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-over.pngbin206 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.lighter.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.lighter.pngbin207 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-atop.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-atop.pngbin205 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-in.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-in.pngbin205 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-out.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-out.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-over.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-over.pngbin205 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.xor.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.xor.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.copy.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.copy.pngbin221 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-atop.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-atop.pngbin220 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-in.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-in.pngbin221 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-out.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-out.pngbin221 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-over.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-over.pngbin222 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.lighter.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.lighter.pngbin208 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-atop.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-atop.pngbin222 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-in.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-in.pngbin221 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-out.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-out.pngbin221 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-over.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-over.pngbin223 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.xor.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.xor.pngbin222 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.copy.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.copy.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-atop.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-atop.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-in.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-in.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-in.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-in.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-out.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-out.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.copy.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.copy.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-atop.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-atop.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-in.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-in.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-in.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-in.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-out.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-out.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.copy.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.copy.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-atop.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-atop.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-in.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-in.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-in.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-in.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-out.html33
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-out.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.copy.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.copy.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-atop.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-atop.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-in.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-in.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-in.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-in.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-out.html34
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-out.pngbin117 -> 0 bytes
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/canvas_compositing_globalcompositeoperation_001-ref.htm11
-rw-r--r--testing/web-platform/tests/2dcontext/compositing/canvas_compositing_globalcompositeoperation_001.htm32
159 files changed, 0 insertions, 3156 deletions
diff --git a/testing/web-platform/tests/2dcontext/compositing/.gitkeep b/testing/web-platform/tests/2dcontext/compositing/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/.gitkeep
+++ /dev/null
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.copy.html
deleted file mode 100644
index 5f32421fb..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.copy.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.copy</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.composite.canvas.copy</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="2d.composite.canvas.copy.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 255,255,0,191, "50,25", "255,255,0,191", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.copy.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.copy.png
deleted file mode 100644
index 8e0668efb..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.copy.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-atop.html
deleted file mode 100644
index 14261d0be..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-atop.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.destination-atop</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.composite.canvas.destination-atop</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="2d.composite.canvas.destination-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 128,255,128,191, "50,25", "128,255,128,191", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-atop.png
deleted file mode 100644
index 59bdc91e9..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-in.html
deleted file mode 100644
index 2320064fa..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-in.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.destination-in</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.composite.canvas.destination-in</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="2d.composite.canvas.destination-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,255,255,96, "50,25", "0,255,255,96", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-in.png
deleted file mode 100644
index 790e418a6..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-out.html
deleted file mode 100644
index 5d392eebc..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-out.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.destination-out</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.composite.canvas.destination-out</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="2d.composite.canvas.destination-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-out';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,255,255,32, "50,25", "0,255,255,32", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-out.png
deleted file mode 100644
index 7f5ed1a83..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-over.html
deleted file mode 100644
index 130cbba8f..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-over.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.destination-over</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.composite.canvas.destination-over</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="2d.composite.canvas.destination-over.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-over';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 109,255,146,223, "50,25", "109,255,146,223", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-over.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-over.png
deleted file mode 100644
index ac8689223..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.destination-over.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.lighter.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.lighter.html
deleted file mode 100644
index bab811861..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.lighter.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.lighter</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.composite.canvas.lighter</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="2d.composite.canvas.lighter.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'lighter';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 191,255,128,255, "50,25", "191,255,128,255", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.lighter.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.lighter.png
deleted file mode 100644
index 9ffde4198..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.lighter.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-atop.html
deleted file mode 100644
index 3d19701dd..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-atop.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.source-atop</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.composite.canvas.source-atop</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="2d.composite.canvas.source-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-atop';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-atop.png
deleted file mode 100644
index 1ef963019..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-in.html
deleted file mode 100644
index dfc1a5af8..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-in.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.source-in</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.composite.canvas.source-in</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="2d.composite.canvas.source-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-in.png
deleted file mode 100644
index c26cdccf0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-out.html
deleted file mode 100644
index a4bd322be..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-out.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.source-out</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.composite.canvas.source-out</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="2d.composite.canvas.source-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-out.png
deleted file mode 100644
index c26cdccf0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-over.html
deleted file mode 100644
index ff8dc528b..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-over.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.source-over</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.composite.canvas.source-over</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="2d.composite.canvas.source-over.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-over';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 219,255,36,223, "50,25", "219,255,36,223", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-over.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-over.png
deleted file mode 100644
index 5437608a8..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.source-over.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.xor.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.xor.html
deleted file mode 100644
index f39a023f6..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.xor.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.canvas.xor</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.composite.canvas.xor</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="2d.composite.canvas.xor.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = canvas.width;
-canvas2.height = canvas.height;
-var ctx2 = canvas2.getContext('2d');
-ctx2.drawImage(document.getElementById('yellow75.png'), 0, 0);
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'xor';
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.xor.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.xor.png
deleted file mode 100644
index 1ef963019..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.canvas.xor.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.copy.html
deleted file mode 100644
index 08096cf1f..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.copy.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.copy</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.composite.clip.copy</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-atop.html
deleted file mode 100644
index c05cd34b5..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-atop.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.destination-atop</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.composite.clip.destination-atop</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-in.html
deleted file mode 100644
index 24aff70cd..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-in.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.destination-in</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.composite.clip.destination-in</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-out.html
deleted file mode 100644
index afeb00984..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-out.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.destination-out</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.composite.clip.destination-out</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-out';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-over.html
deleted file mode 100644
index 7a258836d..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.destination-over.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.destination-over</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.composite.clip.destination-over</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-over';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.lighter.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.lighter.html
deleted file mode 100644
index ffc864b7b..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.lighter.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.lighter</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.composite.clip.lighter</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'lighter';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-atop.html
deleted file mode 100644
index 4580b5429..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-atop.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.source-atop</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.composite.clip.source-atop</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-atop';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-in.html
deleted file mode 100644
index 79c4e16a6..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-in.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.source-in</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.composite.clip.source-in</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-out.html
deleted file mode 100644
index 53456660d..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-out.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.source-out</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.composite.clip.source-out</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-over.html
deleted file mode 100644
index 98b446a1f..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.source-over.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.source-over</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.composite.clip.source-over</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-over';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.xor.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.xor.html
deleted file mode 100644
index b6e36bc11..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.clip.xor.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.clip.xor</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.composite.clip.xor</h1>
-<p class="desc">fill() does not affect pixels outside the clip region.</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("fill() does not affect pixels outside the clip region.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'xor';
-ctx.rect(-20, -20, 10, 10);
-ctx.clip();
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 50, 50);
-_assertPixel(canvas, 25,25, 0,255,0,255, "25,25", "0,255,0,255");
-_assertPixel(canvas, 75,25, 0,255,0,255, "75,25", "0,255,0,255");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.canvas.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.canvas.html
deleted file mode 100644
index 0b6df4930..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.canvas.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.globalAlpha.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.composite.globalAlpha.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) {
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = 100;
-canvas2.height = 50;
-var ctx2 = canvas2.getContext('2d');
-ctx2.fillStyle = '#f00';
-ctx2.fillRect(0, 0, 100, 50);
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.canvaspattern.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.canvaspattern.html
deleted file mode 100644
index eeb2442bf..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.canvaspattern.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.globalAlpha.canvaspattern</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.composite.globalAlpha.canvaspattern</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) {
-
-var canvas2 = document.createElement('canvas');
-canvas2.width = 100;
-canvas2.height = 50;
-var ctx2 = canvas2.getContext('2d');
-ctx2.fillStyle = '#f00';
-ctx2.fillRect(0, 0, 100, 50);
-
-ctx.fillStyle = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.fillStyle = ctx.createPattern(canvas2, 'no-repeat');
-ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.default.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.default.html
deleted file mode 100644
index f84a340fe..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.default.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.globalAlpha.default</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.composite.globalAlpha.default</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-_assertSame(ctx.globalAlpha, 1.0, "ctx.globalAlpha", "1.0");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.fill.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.fill.html
deleted file mode 100644
index 591fb6b5a..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.fill.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.globalAlpha.fill</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.composite.globalAlpha.fill</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 = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations
-ctx.fillStyle = '#f00';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.image.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.image.html
deleted file mode 100644
index b796992de..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.image.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.globalAlpha.image</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.composite.globalAlpha.image</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 = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations
-ctx.drawImage(document.getElementById('red.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2);
-
-
-});
-</script>
-<img src="/images/red.png" id="red.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.imagepattern.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.imagepattern.html
deleted file mode 100644
index ab8633952..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.imagepattern.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.globalAlpha.imagepattern</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.composite.globalAlpha.imagepattern</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 = '#0f0';
-ctx.fillRect(0, 0, 100, 50);
-ctx.fillStyle = ctx.createPattern(document.getElementById('red.png'), 'no-repeat');
-ctx.globalAlpha = 0.01; // avoid any potential alpha=0 optimisations
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 2,253,0,255, "50,25", "2,253,0,255", 2);
-
-
-});
-</script>
-<img src="/images/red.png" id="red.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.invalid.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.invalid.html
deleted file mode 100644
index 980ef8380..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.invalid.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.globalAlpha.invalid</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.composite.globalAlpha.invalid</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalAlpha = 0.5;
-var a = ctx.globalAlpha; // might not be exactly 0.5, if it is rounded/quantised, so remember for future comparisons
-ctx.globalAlpha = Infinity;
-_assertSame(ctx.globalAlpha, a, "ctx.globalAlpha", "a");
-ctx.globalAlpha = -Infinity;
-_assertSame(ctx.globalAlpha, a, "ctx.globalAlpha", "a");
-ctx.globalAlpha = NaN;
-_assertSame(ctx.globalAlpha, a, "ctx.globalAlpha", "a");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.range.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.range.html
deleted file mode 100644
index 14926e6eb..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.globalAlpha.range.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.globalAlpha.range</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.composite.globalAlpha.range</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalAlpha = 0.5;
-var a = ctx.globalAlpha; // might not be exactly 0.5, if it is rounded/quantised, so remember for future comparisons
-ctx.globalAlpha = 1.1;
-_assertSame(ctx.globalAlpha, a, "ctx.globalAlpha", "a");
-ctx.globalAlpha = -0.1;
-_assertSame(ctx.globalAlpha, a, "ctx.globalAlpha", "a");
-ctx.globalAlpha = 0;
-_assertSame(ctx.globalAlpha, 0, "ctx.globalAlpha", "0");
-ctx.globalAlpha = 1;
-_assertSame(ctx.globalAlpha, 1, "ctx.globalAlpha", "1");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.copy.html
deleted file mode 100644
index 96492347b..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.copy.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.copy</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.composite.image.copy</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="2d.composite.image.copy.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 255,255,0,191, "50,25", "255,255,0,191", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.copy.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.copy.png
deleted file mode 100644
index 8e0668efb..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.copy.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-atop.html
deleted file mode 100644
index 221e7b205..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-atop.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.destination-atop</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.composite.image.destination-atop</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="2d.composite.image.destination-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 128,255,128,191, "50,25", "128,255,128,191", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-atop.png
deleted file mode 100644
index 59bdc91e9..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-in.html
deleted file mode 100644
index b52860205..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-in.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.destination-in</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.composite.image.destination-in</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="2d.composite.image.destination-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,255,255,96, "50,25", "0,255,255,96", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-in.png
deleted file mode 100644
index 790e418a6..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-out.html
deleted file mode 100644
index 572ad859a..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-out.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.destination-out</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.composite.image.destination-out</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="2d.composite.image.destination-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-out';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,255,255,32, "50,25", "0,255,255,32", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-out.png
deleted file mode 100644
index 7f5ed1a83..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-over.html
deleted file mode 100644
index 16131412b..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-over.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.destination-over</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.composite.image.destination-over</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="2d.composite.image.destination-over.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-over';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 109,255,146,223, "50,25", "109,255,146,223", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-over.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-over.png
deleted file mode 100644
index ac8689223..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.destination-over.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.lighter.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.lighter.html
deleted file mode 100644
index f44d6dc32..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.lighter.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.lighter</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.composite.image.lighter</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="2d.composite.image.lighter.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'lighter';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 191,255,128,255, "50,25", "191,255,128,255", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.lighter.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.lighter.png
deleted file mode 100644
index 9ffde4198..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.lighter.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-atop.html
deleted file mode 100644
index 2d3a88a86..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-atop.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.source-atop</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.composite.image.source-atop</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="2d.composite.image.source-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-atop';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-atop.png
deleted file mode 100644
index 1ef963019..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-in.html
deleted file mode 100644
index a8c1b5848..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-in.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.source-in</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.composite.image.source-in</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="2d.composite.image.source-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-in.png
deleted file mode 100644
index c26cdccf0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-out.html
deleted file mode 100644
index 079d342c0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-out.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.source-out</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.composite.image.source-out</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="2d.composite.image.source-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 255,255,0,96, "50,25", "255,255,0,96", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-out.png
deleted file mode 100644
index c26cdccf0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-over.html
deleted file mode 100644
index bbb00e2e8..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-over.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.source-over</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.composite.image.source-over</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="2d.composite.image.source-over.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-over';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 219,255,36,223, "50,25", "219,255,36,223", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-over.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-over.png
deleted file mode 100644
index 5437608a8..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.source-over.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.xor.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.xor.html
deleted file mode 100644
index a38ece5dd..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.xor.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.image.xor</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.composite.image.xor</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="2d.composite.image.xor.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'xor';
-ctx.drawImage(document.getElementById('yellow75.png'), 0, 0);
-_assertPixelApprox(canvas, 50,25, 191,255,64,128, "50,25", "191,255,64,128", 5);
-
-
-});
-</script>
-<img src="/images/yellow75.png" id="yellow75.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.xor.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.xor.png
deleted file mode 100644
index 1ef963019..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.image.xor.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.casesensitive.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.casesensitive.html
deleted file mode 100644
index 81b72375b..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.casesensitive.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.casesensitive</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.composite.operation.casesensitive</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalCompositeOperation = 'xor';
-ctx.globalCompositeOperation = 'Source-over';
-_assertSame(ctx.globalCompositeOperation, 'xor', "ctx.globalCompositeOperation", "'xor'");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.clear.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.clear.html
deleted file mode 100644
index 7212cd05f..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.clear.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.clear</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.composite.operation.clear</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalCompositeOperation = 'xor';
-ctx.globalCompositeOperation = 'clear';
-_assertSame(ctx.globalCompositeOperation, 'xor', "ctx.globalCompositeOperation", "'xor'");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.darker.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.darker.html
deleted file mode 100644
index ac155ab04..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.darker.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.darker</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.composite.operation.darker</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalCompositeOperation = 'xor';
-ctx.globalCompositeOperation = 'darker';
-_assertSame(ctx.globalCompositeOperation, 'xor', "ctx.globalCompositeOperation", "'xor'");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.default.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.default.html
deleted file mode 100644
index 165e8b833..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.default.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.default</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.composite.operation.default</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-_assertSame(ctx.globalCompositeOperation, 'source-over', "ctx.globalCompositeOperation", "'source-over'");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.get.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.get.html
deleted file mode 100644
index 53762dafe..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.get.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.get</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.composite.operation.get</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-var modes = ['source-atop', 'source-in', 'source-out', 'source-over',
- 'destination-atop', 'destination-in', 'destination-out', 'destination-over',
- 'lighter', 'copy', 'xor'];
-for (var i = 0; i < modes.length; ++i)
-{
- ctx.globalCompositeOperation = modes[i];
- _assertSame(ctx.globalCompositeOperation, modes[i], "ctx.globalCompositeOperation", "modes[\""+(i)+"\"]");
-}
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.highlight.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.highlight.html
deleted file mode 100644
index 8a3bcf753..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.highlight.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.highlight</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.composite.operation.highlight</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalCompositeOperation = 'xor';
-ctx.globalCompositeOperation = 'highlight';
-_assertSame(ctx.globalCompositeOperation, 'xor', "ctx.globalCompositeOperation", "'xor'");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.nullsuffix.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.nullsuffix.html
deleted file mode 100644
index aa3f8ccd5..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.nullsuffix.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.nullsuffix</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.composite.operation.nullsuffix</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalCompositeOperation = 'xor';
-ctx.globalCompositeOperation = 'source-over\0';
-_assertSame(ctx.globalCompositeOperation, 'xor', "ctx.globalCompositeOperation", "'xor'");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.over.html
deleted file mode 100644
index e9b91e83d..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.over.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.over</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.composite.operation.over</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalCompositeOperation = 'xor';
-ctx.globalCompositeOperation = 'over';
-_assertSame(ctx.globalCompositeOperation, 'xor', "ctx.globalCompositeOperation", "'xor'");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.unrecognised.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.unrecognised.html
deleted file mode 100644
index ced2accc4..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.operation.unrecognised.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.operation.unrecognised</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.composite.operation.unrecognised</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>
-
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-ctx.globalCompositeOperation = 'xor';
-ctx.globalCompositeOperation = 'nonexistent';
-_assertSame(ctx.globalCompositeOperation, 'xor', "ctx.globalCompositeOperation", "'xor'");
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.copy.html
deleted file mode 100644
index 8bf99f3f8..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.copy.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.copy</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.composite.solid.copy</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="2d.composite.solid.copy.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.copy.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.copy.png
deleted file mode 100644
index fc0883e74..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.copy.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-atop.html
deleted file mode 100644
index 045caaa02..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-atop.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.destination-atop</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.composite.solid.destination-atop</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="2d.composite.solid.destination-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-atop.png
deleted file mode 100644
index dd04072ba..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-in.html
deleted file mode 100644
index ec27d60b4..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-in.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.destination-in</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.composite.solid.destination-in</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="2d.composite.solid.destination-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-in.png
deleted file mode 100644
index dd04072ba..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-out.html
deleted file mode 100644
index d96ce76ca..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-out.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.destination-out</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.composite.solid.destination-out</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="2d.composite.solid.destination-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-out';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-out.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-over.html
deleted file mode 100644
index 08a02387d..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-over.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.destination-over</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.composite.solid.destination-over</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="2d.composite.solid.destination-over.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-over';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,255,255,255, "50,25", "0,255,255,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-over.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-over.png
deleted file mode 100644
index dd04072ba..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.destination-over.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.lighter.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.lighter.html
deleted file mode 100644
index 0ffdcbb0f..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.lighter.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.lighter</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.composite.solid.lighter</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="2d.composite.solid.lighter.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'lighter';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 255,255,255,255, "50,25", "255,255,255,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.lighter.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.lighter.png
deleted file mode 100644
index bf48767a8..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.lighter.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-atop.html
deleted file mode 100644
index a122e437d..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-atop.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.source-atop</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.composite.solid.source-atop</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="2d.composite.solid.source-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-atop';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-atop.png
deleted file mode 100644
index fc0883e74..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-in.html
deleted file mode 100644
index ae3124ffa..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-in.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.source-in</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.composite.solid.source-in</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="2d.composite.solid.source-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-in.png
deleted file mode 100644
index fc0883e74..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-out.html
deleted file mode 100644
index 8ea16796c..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-out.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.source-out</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.composite.solid.source-out</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="2d.composite.solid.source-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-out.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-over.html
deleted file mode 100644
index e038d557b..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-over.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.source-over</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.composite.solid.source-over</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="2d.composite.solid.source-over.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-over';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 255,255,0,255, "50,25", "255,255,0,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-over.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-over.png
deleted file mode 100644
index fc0883e74..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.source-over.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.xor.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.xor.html
deleted file mode 100644
index a7b4e821e..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.xor.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.solid.xor</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.composite.solid.xor</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="2d.composite.solid.xor.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'xor';
-ctx.fillStyle = 'rgba(255, 255, 0, 1.0)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.xor.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.xor.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.solid.xor.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.copy.html
deleted file mode 100644
index ede88859e..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.copy.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.copy</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.composite.transparent.copy</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="2d.composite.transparent.copy.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,255,191, "50,25", "0,0,255,191", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.copy.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.copy.png
deleted file mode 100644
index 170e88183..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.copy.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-atop.html
deleted file mode 100644
index 350fe2be3..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-atop.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.destination-atop</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.composite.transparent.destination-atop</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="2d.composite.transparent.destination-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,128,128,191, "50,25", "0,128,128,191", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-atop.png
deleted file mode 100644
index 57bbf64ac..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-in.html
deleted file mode 100644
index b2e907d2a..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-in.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.destination-in</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.composite.transparent.destination-in</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="2d.composite.transparent.destination-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,255,0,96, "50,25", "0,255,0,96", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-in.png
deleted file mode 100644
index c6895de98..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-out.html
deleted file mode 100644
index aca47b8bd..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-out.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.destination-out</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.composite.transparent.destination-out</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="2d.composite.transparent.destination-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-out';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,255,0,32, "50,25", "0,255,0,32", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-out.png
deleted file mode 100644
index 873a9c45d..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-over.html
deleted file mode 100644
index 676278df7..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-over.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.destination-over</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.composite.transparent.destination-over</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="2d.composite.transparent.destination-over.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-over';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,146,109,223, "50,25", "0,146,109,223", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-over.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-over.png
deleted file mode 100644
index c0f0326d2..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.destination-over.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.lighter.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.lighter.html
deleted file mode 100644
index 9aba34c48..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.lighter.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.lighter</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.composite.transparent.lighter</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="2d.composite.transparent.lighter.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'lighter';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,128,191,255, "50,25", "0,128,191,255", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.lighter.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.lighter.png
deleted file mode 100644
index bcb8ab408..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.lighter.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-atop.html
deleted file mode 100644
index 18229d6ae..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-atop.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.source-atop</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.composite.transparent.source-atop</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="2d.composite.transparent.source-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-atop';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,64,191,128, "50,25", "0,64,191,128", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-atop.png
deleted file mode 100644
index e0afff6b0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-in.html
deleted file mode 100644
index 57124d886..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-in.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.source-in</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.composite.transparent.source-in</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="2d.composite.transparent.source-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,255,96, "50,25", "0,0,255,96", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-in.png
deleted file mode 100644
index 1459b5e54..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-out.html
deleted file mode 100644
index 9b4b9d309..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-out.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.source-out</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.composite.transparent.source-out</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="2d.composite.transparent.source-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,255,96, "50,25", "0,0,255,96", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-out.png
deleted file mode 100644
index 1459b5e54..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-over.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-over.html
deleted file mode 100644
index 6299e8c8e..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-over.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.source-over</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.composite.transparent.source-over</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="2d.composite.transparent.source-over.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-over';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,36,219,223, "50,25", "0,36,219,223", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-over.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-over.png
deleted file mode 100644
index c92cd9563..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.source-over.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.xor.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.xor.html
deleted file mode 100644
index b53d14048..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.xor.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.transparent.xor</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.composite.transparent.xor</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="2d.composite.transparent.xor.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'xor';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.fillRect(0, 0, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,64,191,128, "50,25", "0,64,191,128", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.xor.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.xor.png
deleted file mode 100644
index e0afff6b0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.transparent.xor.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.copy.html
deleted file mode 100644
index 966d7265d..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.copy.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.fill.copy</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.composite.uncovered.fill.copy</h1>
-<p class="desc">fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.fill.copy.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.translate(0, 25);
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.copy.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.copy.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.copy.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-atop.html
deleted file mode 100644
index 8ffc8db3f..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-atop.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.fill.destination-atop</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.composite.uncovered.fill.destination-atop</h1>
-<p class="desc">fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.fill.destination-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.translate(0, 25);
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-atop.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-in.html
deleted file mode 100644
index 040fdf351..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-in.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.fill.destination-in</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.composite.uncovered.fill.destination-in</h1>
-<p class="desc">fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.fill.destination-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.translate(0, 25);
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-in.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.destination-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-in.html
deleted file mode 100644
index 4d64f9094..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-in.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.fill.source-in</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.composite.uncovered.fill.source-in</h1>
-<p class="desc">fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.fill.source-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.translate(0, 25);
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-in.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-out.html
deleted file mode 100644
index d1f39baff..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-out.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.fill.source-out</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.composite.uncovered.fill.source-out</h1>
-<p class="desc">fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.fill.source-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-ctx.fillStyle = 'rgba(0, 0, 255, 0.75)';
-ctx.translate(0, 25);
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-out.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.fill.source-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.copy.html
deleted file mode 100644
index 43e070dc3..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.copy.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.image.copy</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.composite.uncovered.image.copy</h1>
-<p class="desc">drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.image.copy.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10);
-_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.copy.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.copy.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.copy.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-atop.html
deleted file mode 100644
index e59e8aa89..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-atop.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.image.destination-atop</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.composite.uncovered.image.destination-atop</h1>
-<p class="desc">drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.image.destination-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10);
-_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-atop.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-in.html
deleted file mode 100644
index 2872fd236..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-in.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.image.destination-in</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.composite.uncovered.image.destination-in</h1>
-<p class="desc">drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.image.destination-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10);
-_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-in.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.destination-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-in.html
deleted file mode 100644
index 234e92472..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-in.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.image.source-in</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.composite.uncovered.image.source-in</h1>
-<p class="desc">drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.image.source-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10);
-_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-in.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-out.html
deleted file mode 100644
index 4ab233a48..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-out.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.image.source-out</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.composite.uncovered.image.source-out</h1>
-<p class="desc">drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.image.source-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-ctx.drawImage(document.getElementById('yellow.png'), 40, 40, 10, 10, 40, 50, 10, 10);
-_assertPixelApprox(canvas, 15,15, 0,0,0,0, "15,15", "0,0,0,0", 5);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-out.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.image.source-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.copy.html
deleted file mode 100644
index 68a936692..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.copy.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.nocontext.copy</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.composite.uncovered.nocontext.copy</h1>
-<p class="desc">drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.nocontext.copy.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-var canvas2 = document.createElement('canvas');
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.copy.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.copy.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.copy.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-atop.html
deleted file mode 100644
index ad11e21d9..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-atop.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.nocontext.destination-atop</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.composite.uncovered.nocontext.destination-atop</h1>
-<p class="desc">drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.nocontext.destination-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-var canvas2 = document.createElement('canvas');
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-atop.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-in.html
deleted file mode 100644
index 0412a7aa3..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-in.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.nocontext.destination-in</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.composite.uncovered.nocontext.destination-in</h1>
-<p class="desc">drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.nocontext.destination-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-var canvas2 = document.createElement('canvas');
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-in.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.destination-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-in.html
deleted file mode 100644
index d6136630e..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-in.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.nocontext.source-in</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.composite.uncovered.nocontext.source-in</h1>
-<p class="desc">drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.nocontext.source-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-var canvas2 = document.createElement('canvas');
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-in.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-out.html
deleted file mode 100644
index be5d6bf12..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-out.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.nocontext.source-out</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.composite.uncovered.nocontext.source-out</h1>
-<p class="desc">drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.nocontext.source-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("drawImage() of a canvas with no context draws pixels as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-var canvas2 = document.createElement('canvas');
-ctx.drawImage(canvas2, 0, 0);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-out.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.nocontext.source-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.copy.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.copy.html
deleted file mode 100644
index 8c38388c2..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.copy.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.pattern.copy</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.composite.uncovered.pattern.copy</h1>
-<p class="desc">Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.pattern.copy.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'copy';
-ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat');
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.copy.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.copy.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.copy.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-atop.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-atop.html
deleted file mode 100644
index 7ad35f48d..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-atop.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.pattern.destination-atop</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.composite.uncovered.pattern.destination-atop</h1>
-<p class="desc">Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.pattern.destination-atop.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-atop';
-ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat');
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-atop.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-atop.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-atop.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-in.html
deleted file mode 100644
index 085851c91..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-in.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.pattern.destination-in</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.composite.uncovered.pattern.destination-in</h1>
-<p class="desc">Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.pattern.destination-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'destination-in';
-ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat');
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-in.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.destination-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-in.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-in.html
deleted file mode 100644
index 7e0b8795c..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-in.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.pattern.source-in</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.composite.uncovered.pattern.source-in</h1>
-<p class="desc">Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.pattern.source-in.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-in';
-ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat');
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-in.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-in.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-in.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-out.html b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-out.html
deleted file mode 100644
index 0d34f693c..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-out.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
-<title>Canvas test: 2d.composite.uncovered.pattern.source-out</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.composite.uncovered.pattern.source-out</h1>
-<p class="desc">Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.</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="2d.composite.uncovered.pattern.source-out.png" class="output expected" id="expected" alt="">
-<ul id="d"></ul>
-<script>
-var t = async_test("Pattern fill() draws pixels not covered by the source object as (0,0,0,0), and does not leave the pixels unchanged.");
-_addTest(function(canvas, ctx) {
-
-
-ctx.fillStyle = 'rgba(0, 255, 255, 0.5)';
-ctx.fillRect(0, 0, 100, 50);
-ctx.globalCompositeOperation = 'source-out';
-ctx.fillStyle = ctx.createPattern(document.getElementById('yellow.png'), 'no-repeat');
-ctx.fillRect(0, 50, 100, 50);
-_assertPixelApprox(canvas, 50,25, 0,0,0,0, "50,25", "0,0,0,0", 5);
-
-
-});
-</script>
-<img src="/images/yellow.png" id="yellow.png" class="resource">
-
diff --git a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-out.png b/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-out.png
deleted file mode 100644
index eeedd0ff0..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/2d.composite.uncovered.pattern.source-out.png
+++ /dev/null
Binary files differ
diff --git a/testing/web-platform/tests/2dcontext/compositing/canvas_compositing_globalcompositeoperation_001-ref.htm b/testing/web-platform/tests/2dcontext/compositing/canvas_compositing_globalcompositeoperation_001-ref.htm
deleted file mode 100644
index 70196fb36..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/canvas_compositing_globalcompositeoperation_001-ref.htm
+++ /dev/null
@@ -1,11 +0,0 @@
-<!doctype HTML>
-<html>
- <head>
- <title>HTML5 Canvas Test: globalCompositeOperation "destination-over"</title>
- <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
- </head>
- <body>
- <p>Description: If the globalCompositeOperation is set to "destination-over", display the destination image wherever the destination image is opaque.</p>
- <div><img alt='black rectangle' src="/images/black-rectangle.png"></div>
- </body>
-</html>
diff --git a/testing/web-platform/tests/2dcontext/compositing/canvas_compositing_globalcompositeoperation_001.htm b/testing/web-platform/tests/2dcontext/compositing/canvas_compositing_globalcompositeoperation_001.htm
deleted file mode 100644
index 8d6208eb3..000000000
--- a/testing/web-platform/tests/2dcontext/compositing/canvas_compositing_globalcompositeoperation_001.htm
+++ /dev/null
@@ -1,32 +0,0 @@
-<!doctype HTML>
-<html>
- <head>
- <title>HTML5 Canvas Test: globalCompositeOperation "destination-over"</title>
- <link rel="match" href="canvas_compositing_globalcompositeoperation_001-ref.htm">
- <link rel="author" title="Microsoft" href="http://www.microsoft.com" />
- <link rel="help" href="http://www.w3.org/TR/2dcontext/#dom-context-2d-globalcompositeoperation" />
- <meta name="assert" content="If the globalCompositeOperation is set to 'destination-over', display the destination image wherever the destination image is opaque." />
- <script type="text/javascript">
- function runTest()
- {
- var canvas = document.getElementById("canvas1");
- var ctx = canvas.getContext("2d");
-
- // Source image.
- ctx.fillStyle = "rgba(0, 0, 0, 1.0)";
- ctx.fillRect(0, 0, 100, 50);
-
- // Assign the globalCompositeOperation.
- ctx.globalCompositeOperation = "destination-over";
-
- // Destination image.
- ctx.fillStyle = "rgba(255, 0, 0, 1.0)";
- ctx.fillRect(0, 0, 100, 50);
- }
- </script>
- </head>
- <body onload="runTest()">
- <p>Description: If the globalCompositeOperation is set to "destination-over", display the destination image wherever the destination image is opaque.</p>
- <canvas id="canvas1" width="300" height="150">Browser does not support HTML5 Canvas.</canvas>
- </body>
-</html>