Permalink
Browse files

Merge pull request #10 from w3c/submission/PhilipTaylor

Submission/philip taylor
  • Loading branch information...
darobin committed Feb 6, 2013
2 parents c4bf961 + 03e34ca commit f8f768e960174c86cfe722209166ad514bb72928
Showing 903 changed files with 6,615 additions and 3,002 deletions.
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.copy</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.copy</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.destination-atop</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.destination-atop</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.destination-in</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.destination-in</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.destination-out</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.destination-out</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.destination-over</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.destination-over</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.lighter</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.lighter</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
Binary file not shown.
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.source-atop</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.source-atop</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.source-in</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.source-in</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.source-out</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.source-out</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.source-over</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.source-over</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.canvas.xor</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.canvas.html">canvas</a>.xor</h1>
@@ -19,6 +21,7 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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) {
@@ -36,5 +39,5 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
});
</script>
-<img src="../../images/yellow75.png" id="yellow75.png" class="resource">
+<img src="../images/yellow75.png" id="yellow75.png" class="resource">
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.clip.copy</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.clip.html">clip</a>.copy</h1>
@@ -16,9 +18,10 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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="">
+<p class="output expectedtext">Expected output:<p><img src="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) {
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.clip.destination-atop</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.clip.html">clip</a>.destination-atop</h1>
@@ -16,9 +18,10 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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="">
+<p class="output expectedtext">Expected output:<p><img src="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) {
@@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>Canvas test: 2d.composite.clip.destination-in</title>
<meta name="author" content="Philip Taylor">
-<script src="../../common/canvas-tests.js"></script>
-<link rel="stylesheet" href="../../common/canvas-tests.css">
+<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><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</a>.<a href="index.2d.composite.clip.html">clip</a>.destination-in</h1>
@@ -16,9 +18,10 @@ <h1><a href="index.2d.html">2d</a>.<a href="index.2d.composite.html">composite</
<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="">
+<p class="output expectedtext">Expected output:<p><img src="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) {
Oops, something went wrong.

0 comments on commit f8f768e

Please sign in to comment.