| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <style> | 2 <style> |
| 3 td { | 3 td { |
| 4 counter-increment: list-item; | 4 counter-increment: list-item; |
| 5 } | 5 } |
| 6 </style> | 6 </style> |
| 7 <script> | 7 <script> |
| 8 if (window.testRunner) { | 8 if (window.testRunner) { |
| 9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
| 10 } | 10 } |
| 11 | 11 |
| 12 function crash() { | 12 function crash() { |
| 13 document.body.innerHTML = "PASS: Malformed table counters do not cause crash
"; | 13 document.body.innerHTML = "PASS: Malformed table counters do not cause crash
"; |
| 14 if (window.testRunner) { | 14 if (window.testRunner) { |
| 15 testRunner.dumpAsText(); |
| 15 testRunner.notifyDone(); | 16 testRunner.notifyDone(); |
| 16 testRunner.dumpAsText(); | |
| 17 } | 17 } |
| 18 } | 18 } |
| 19 </script> | 19 </script> |
| 20 <body onload="crash()"> | 20 <body onload="crash()"> |
| 21 <table> | 21 <table> |
| 22 <tbody> | 22 <tbody> |
| 23 <td> | 23 <td> |
| 24 </tbody> | 24 </tbody> |
| 25 <ol>re-parent me</ol> | 25 <ol>re-parent me</ol> |
| 26 <ol>re-parent me</ol> | 26 <ol>re-parent me</ol> |
| 27 </td> | 27 </td> |
| 28 <td></td> | 28 <td></td> |
| 29 </table> | 29 </table> |
| 30 </body> | 30 </body> |
| 31 </html> | 31 </html> |
| OLD | NEW |