Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / unclosed-canvas-4.html
blob586a920dbe7a94c21ad2223ee66a8d557a856859
1 <head>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 </head>
7 <body>
8 <p>There should be no text below this, because the text is inside a canvas element
9 and the &lt;/div&gt; that's also inside the canvas element does not close an open element.
10 The canvas is never closed, and the rest of the body ends up inside it.
11 There's nothing special about div; we get the same results with other types of elements.
12 The fact that the canvas tag uses XML self-closing syntax has no effect.</p>
13 <canvas/></div>This text should NOT be visible if JavaScript is enabled.
14 </body>