OLD | NEW |
1 <html> | 1 <html> |
2 <script> | 2 <script> |
3 function test() | 3 function test() |
4 { | 4 { |
5 if (window.testRunner) | 5 if (window.testRunner) |
6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
7 document.getElementsByTagName("div")[0].outerHTML = "PASS"; | 7 document.getElementsByTagName("div")[0].outerHTML = "PASS"; |
8 } | 8 } |
9 </script> | 9 </script> |
10 This tests that we do not crash when RenderCounter traverses detached render
trees. | 10 This tests that we do not crash when LayoutCounter traverses detached render
trees. |
11 <body onload="test()" style="counter-increment: ctr"> | 11 <body onload="test()" style="counter-increment: ctr"> |
12 <object> | 12 <object> |
13 <b style="counter-increment: ctr"><div></div></b> | 13 <b style="counter-increment: ctr"><div></div></b> |
14 <menu style="counter-increment: ctr"></menu> | 14 <menu style="counter-increment: ctr"></menu> |
15 </object> | 15 </object> |
16 </body> | 16 </body> |
17 </html> | 17 </html> |
OLD | NEW |