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