Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: LayoutTests/svg/in-html/script-write.html

Issue 26129005: Rewrite Text node attaching to not be N^2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Flush for foriegn content also Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 </script> 7 </script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <!-- Makes sure the insertion point is at the end of the running script. 10 <!--This test is amazing and doesn't do anything like what you think it does! -- >
11 Test passes if written script runs before second inline script. -->
12 <div id="console"></div> 11 <div id="console"></div>
13 <svg> 12 <svg>
14 <g> 13 <g>
15 <rect id="test"> 14 <rect id="test">
16 <script> 15 <script>
17 document.write('<script>debug("written script ran!");</script>') ; 16 document.write('<script>debug("written script ran!");</script>') ;
18 </script> 17 </script>
19 <script> 18 <script>
20 debug("second inline script ran!"); 19 debug("second inline script ran!");
21 </script> 20 </script>
22 </rect> 21 </rect>
23 </g> 22 </g>
24 </svg> 23 </svg>
25 </body> 24 </body>
26 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/in-html/real-script-write-expected.txt ('k') | Source/core/html/parser/HTMLConstructionSite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698