html

view tests/approved/canvas/type.delete.html @ 230:72c5c32c560b

Add foreign content tests
author kkrueger@ip-208-109-98-22.ip.secureserver.net
date Mon, 24 Jan 2011 19:22:42 -0800
parents 1891a23cc9b9
children 4a2eef00b4cc
line source
1 <!DOCTYPE html>
2 <title>Canvas test: type.delete</title>
3 <meta name="author" content="Philip Taylor">
4 <script src="../common/canvas-tests.js"></script>
5 <link rel="stylesheet" href="../common/canvas-tests.css">
6 <body class="show_output">
8 <h1><a href="index.type.html">type</a>.delete</h1>
9 <p class="desc">window.HTMLCanvasElement interface object is DontDelete</p>
11 <div class="refs">Spec references:
12 <ul>
13 <li><a href="../annotated-spec/canvas.html#testrefs.canvas.type">canvas.type</a>
14 </ul>
15 </div>
16 <p class="notes">Defined in "Language Bindings for DOM Specifications" (draft)
17 <p class="output">Actual output:</p>
18 <canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL (fallback content)</p></canvas>
20 <ul id="d"></ul>
21 <script>
22 _addTest(function(canvas, ctx) {
24 delete window.HTMLCanvasElement;
25 _assert(window.HTMLCanvasElement, "window.HTMLCanvasElement");
28 });
29 </script>
Set up and maintained by W3C Systems Team, please report bugs to sysreq@w3.org.

W3C would like to thank Microsoft who donated the server that allows us to run this service.