tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / svg / in-html / script-write.html
1 <html>
2 <head>
3 <script src="../../fast/js/resources/js-test-pre.js"></script>
4 <script>
5     if (window.layoutTestController)
6         layoutTestController.dumpAsText();
7 </script>
8 </head>
9 <body>
10 <!-- Makes sure the insertion point is at the end of the running script.
11 Test passes if written script runs before second inline script. -->
12 <div id="console"></div>
13 <svg>
14     <g>
15         <rect id="test">
16             <script>
17                 document.write('<script>debug("written script ran!");</script>');
18             </script>
19             <script>
20                 debug("second inline script ran!");
21             </script>
22         </rect>
23     </g>
24 </svg>
25 </body>
26 </html>