OLD | NEW |
1 <style> | 1 <style> |
2 .x:after { content:counter(c, asterisks) ""; counter-increment:c 1550; } | 2 .x:after { content:counter(c, asterisks) ""; counter-increment:c 1550; } |
3 </style> | 3 </style> |
4 <script> | 4 <script> |
5 function runTest() { | 5 function runTest() { |
6 document.styleSheets[0].insertRule("div { counter-reset: c 141170 }"); | 6 document.styleSheets[0].insertRule("div { counter-reset: c 141170 }"); |
7 if (window.layoutTestController) | 7 if (window.layoutTestController) |
8 layoutTestController.dumpAsText(); | 8 layoutTestController.dumpAsText(); |
9 } | 9 } |
10 window.onload=runTest; | 10 window.onload=runTest; |
11 </script> | 11 </script> |
12 <div> | 12 <div> |
13 <span class="x"> | 13 <span class="x"> |
14 <div></div> | 14 <div></div> |
15 <span class="x"> | 15 <span class="x"> |
16 <p> | 16 <p> |
17 <p> | 17 <p> |
18 PASS if no assert or crash in debug | 18 PASS if no assert or crash in debug |
19 </div> | 19 </div> |
OLD | NEW |