Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / script-in-svg-runs.html
blob08f5f004066a98c208e0e4f7bfaff02dcbb5f640
1 <!DOCTYPE html>
2 <html lang="en-US">
3 <head>
4 <meta charset="UTF-8">
5 <title>&lt;script&gt;-in-&lt;svg&gt; test</title>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 </script>
10 </head>
11 <body>
12 <svg height="360" version="1.1" viewBox="0 0 360 360" width="360">
13 <text id='t' x='100' y='100' fill='black' font-size='72'>FAIL</text>
14 <script>
15 var el = document.getElementById('t');
16 var t = document.createTextNode('PASS');
17 el.replaceChild(t, el.firstChild);
18 </script>
19 </svg>
21 <p>Do you see "PASS" above? That means &lt;script&gt;-in-&lt;svg&gt;-in-HTML works OK.</p>
22 </body>
23 </html>