OLD | NEW |
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> |
OLD | NEW |