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

Side by Side Diff: LayoutTests/fast/regions/svg-root-element-collected.html

Issue 9250028: Merge 104328 - [CSSRegions]Crash while collecting svg elements in render flow thread. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #region { 5 #region {
6 -webkit-flow-from: thread; 6 -webkit-flow-from: thread;
7 width: 100px; 7 width: 100px;
8 height: 100px; 8 height: 100px;
9 } 9 }
10 </style> 10 </style>
11 </head> 11 </head>
12 <body> 12 <body>
13 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=73735">73735</a> : Collect SVG nodes in render flow thread</p> 13 <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=73735">73735</a> : Collect SVG nodes in render flow thread</p>
14 <p>It should be possible to collect a root "svg" node into a render flow thread.</p> 14 <p>It should be possible to collect a root "svg" node into a render flow thread.</p>
15 <p>On success, you should see PASS below.</p> 15 <p>On success, you should see PASS below.</p>
16 <svg xmlns="http://www.w3.org/2000/svg" style="-webkit-flow-into:thread" > 16 <svg xmlns="http://www.w3.org/2000/svg" style="-webkit-flow-into:thread" >
17 <text x="0" y="15">SVG text</text> 17 <text x="0" y="15">SVG text</text>
18 </svg> 18 </svg>
19 <div id="region"></div> 19 <div id="region"></div>
20 <script> 20 <script>
21 if (window.layoutTestController) 21 if (window.layoutTestController)
22 window.layoutTestController.dumpAsText(); 22 window.layoutTestController.dumpAsText();
23 var regionElement = document.getElementById("region"); 23 var regionElement = document.getElementById("region");
24 var pass = regionElement.innerText.length != 0; 24 var pass = regionElement.innerText.length != 0;
25 regionElement.style.display = "none"; 25 regionElement.style.display = "none";
26 document.write("<p>" + pass ? "PASS" : "FAIL" + "</p>"); 26 document.write("<p>" + pass ? "PASS" : "FAIL" + "</p>");
27 </script> 27 </script>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698