unclosed-canvas-1.htm (583B)
1 <!doctype HTML> 2 <html> 3 <head> 4 <title>unclosed canvas tag in body</title> 5 <link rel="match" href="unclosed-canvas-1-expected.htm"> 6 <meta name="assert" content="Test what if canvas tag is unclosed in tag p" /> 7 <script type="text/javascript"></script> 8 </head> 9 <body> 10 <p>There should be no text below this, because the text is inside a canvas element. 11 The canvas is never closed, and the rest of the body ends up inside it. </p> 12 <canvas>This text should NOT be visible if JavaScript is enabled. 13 </body> 14 </html>