blob: 7ff7dd1f32df97708f8db5f5e481c8fb029e3fdb [file] [log] [blame]
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<div>This text should NOT be visible, because JavaScript should replace it.</div>
<canvas>
This text should NOT be visible if JavaScript is enabled.
<script>
document.getElementsByTagName("div")[0].innerText = "This text was set by a script inside a canvas element. "
+ "Such scripts run even though the content is not displayed."
</script>
</canvas>
</body>