Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / inline-script-order.html
blobc0580e7368c2f8f65c4669ac70c1a9d6abc130fd
1 <!DOCTYPE html>
2 <p id="log"></p>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 var div = document.createElement('div');
8 var s1 = document.createElement('script');
9 s1.appendChild(document.createTextNode('document.getElementById(\'log\').appendChild(document.createTextNode(\' First \'))'));
10 div.appendChild(s1);
11 var s2 = document.createElement('script');
12 s2.appendChild(document.createTextNode('document.getElementById(\'log\').appendChild(document.createTextNode(\' Second \'))'));
13 div.appendChild(s2);
14 document.body.appendChild(div);
15 </script>