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

Side by Side Diff: LayoutTests/svg/text/clear-floats-crash.svg

Issue 216933006: Remove carriage returns from LayoutTests (18) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectations Created 6 years, 9 months 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 xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <body> 2 <body>
3 This test is to ensure that we do not crash when clearing floats during SVG load. 3 This test is to ensure that we do not crash when clearing floats during SVG load.
4 <div id="log"><span style='color: red;'>FAIL:</span> Did not complete test</ div> 4 <div id="log"><span style='color: red;'>FAIL:</span> Did not complete test</ div>
5 <svg xmlns="http://www.w3.org/2000/svg"> 5 <svg xmlns="http://www.w3.org/2000/svg">
6 <g> 6 <g>
7 <text style="float:right"></text> 7 <text style="float:right"></text>
8 <text></text> 8 <text></text>
9 </g> 9 </g>
10 </svg> 10 </svg>
11 <script> 11 <script>
12 if (window.testRunner) 12 if (window.testRunner)
13 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
14 var log = document.getElementById("log"); 14 var log = document.getElementById("log");
15 while (log.childNodes.length) 15 while (log.childNodes.length)
16 log.removeChild(log.firstChild); 16 log.removeChild(log.firstChild);
17 var msg = document.createElementNS("http://www.w3.org/1999/xhtml", "span "); 17 var msg = document.createElementNS("http://www.w3.org/1999/xhtml", "span ");
18 msg.style.color = "green"; 18 msg.style.color = "green";
19 msg.appendChild(document.createTextNode("PASS:")); 19 msg.appendChild(document.createTextNode("PASS:"));
20 log.appendChild(msg); 20 log.appendChild(msg);
21 log.appendChild(document.createTextNode(" Did not crash while rendering the SVG.")); 21 log.appendChild(document.createTextNode(" Did not crash while rendering the SVG."));
22 </script> 22 </script>
23 </body> 23 </body>
24 </html> 24 </html>
25 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698