blob: 6b02200362e3413fc5a2a0b5fbbbf3737347d345 [file] [log] [blame]
# Copyright (c) 2010 Philip Taylor
# Released under the BSD license and W3C Test Suite License: see LICENSE.txt
w3c: |
<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
<title>Canvas test: %(name)s</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/html/canvas/resources/canvas-tests.js"></script>
<link rel="stylesheet" href="/html/canvas/resources/canvas-tests.css">
%(fonts)s<body class="show_output">
<h1>%(name)s</h1>
<p class="desc">%(desc)s</p>
%(notes)s
%(fonthack)s<p class="output">Actual output:</p>
<canvas id="c" class="output" %(canvas)s>%(fallback)s</canvas>
%(expected)s
<ul id="d"></ul>
<script>
var t = async_test("%(escaped_desc)s");
_addTest(function(canvas, ctx) {
%(code)s
});
</script>
%(scripts)s%(images)s