Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / in-html / script-nested.html
blob92c809434273f454a1dfc6f36ee2de60f58ffbf0
1 <html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 </script>
8 </head>
9 <body>
10 <!-- Makes scripts nested scripts run immediately and don't hang.
11 Test passes if nested script runs before inline script finishes. -->
12 <div id="console"></div>
13 <svg>
14 <g>
15 <rect id="test">
16 <script>
17 nested = document.createElement("script");
18 nested.innerHTML = 'debug("nested script ran!");';
19 document.getElementsByTagName("head")[0].appendChild(nested);
20 debug("inline script done!");
21 </script>
22 </rect>
23 </g>
24 </svg>
25 </body>
26 </html>