<head> | |
<script> | |
if (window.layoutTestController) | |
layoutTestController.dumpAsText(); | |
</script> | |
</head> | |
<body> | |
<p>There should be no text below this, because the text is inside a canvas element. | |
The canvas is never closed, and the rest of the body ends up inside it.</p> | |
<canvas>This text should NOT be visible if JavaScript is enabled. | |
</body> |