OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #region { | |
6 -webkit-flow-from: thread; | |
7 width: 100px; | |
8 height: 100px; | |
9 } | |
10 </style> | |
11 </head> | |
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> | |
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> | |
16 <svg xmlns="http://www.w3.org/2000/svg" style="-webkit-flow-into:thread"
> | |
17 <text x="0" y="15">SVG text</text> | |
18 </svg> | |
19 <div id="region"></div> | |
20 <script> | |
21 if (window.testRunner) | |
22 window.testRunner.dumpAsText(); | |
23 var regionElement = document.getElementById("region"); | |
24 var pass = regionElement.innerText.length != 0; | |
25 regionElement.style.display = "none"; | |
26 document.write("<p>" + pass ? "PASS" : "FAIL" + "</p>"); | |
27 </script> | |
28 </body> | |
29 </html> | |
OLD | NEW |