| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <head> |
| 3 <style> |
| 4 #el0 { |
| 5 counter-reset: c 1234567890 |
| 6 } |
| 7 |
| 8 .c1:before { |
| 9 content: counter(c, hangul-consonant) attr(id); |
| 10 counter-increment: c 567; |
| 11 } |
| 12 |
| 13 .c0:after { |
| 14 display: table-caption; |
| 15 content: counter(c, tigre) attr(id); |
| 16 } |
| 17 |
| 18 </style> |
| 19 </head> |
| 20 |
| 21 <body> |
| 22 PASS: did not crash. |
| 23 |
| 24 <q id="el0" class="c0"><q id="el1" class="c1"></q></q> |
| 25 |
| 26 <script> |
| 27 if (window.testRunner) { |
| 28 testRunner.dumpAsText(); |
| 29 testRunner.waitUntilDone(); |
| 30 } |
| 31 |
| 32 setTimeout(function() { |
| 33 document.styleSheets[0].insertRule('.c1:only-of-type { content: counter(c, c
ircle) attr(id); }', document.styleSheets[0].rules.length); |
| 34 document.body.offsetTop; |
| 35 document.styleSheets[0].insertRule('#el1:last-child { -webkit-column-axis:au
to;cjk-earthly-branch) close-quote; counter-reset: c 976; }', document.styleShee
ts[0].rules.length); |
| 36 document.body.offsetTop; |
| 37 |
| 38 if (window.testRunner) |
| 39 testRunner.notifyDone(); |
| 40 }, 0); |
| 41 </script> |
| 42 </body> |
| OLD | NEW |