Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / script-inside-canvas-fallback.html
blob7ff7dd1f32df97708f8db5f5e481c8fb029e3fdb
1 <head>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 </head>
7 <body>
8 <div>This text should NOT be visible, because JavaScript should replace it.</div>
9 <canvas>
10 This text should NOT be visible if JavaScript is enabled.
11 <script>
12 document.getElementsByTagName("div")[0].innerText = "This text was set by a script inside a canvas element. "
13 + "Such scripts run even though the content is not displayed."
14 </script>
15 </canvas>
16 </body>