<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
</head>
<body>
<div><canvas></div>
This text should be visible, even though it's preceded by an unclosed canvas tag,
because of the &lt;/div&gt; that closes an element opened before the canvas.
There's nothing special about div; we get the same results with other types of elements.
</body>
