OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 .caption:after { |
| 4 position:absolute; |
| 5 content: counter(c, lower-armenian) attr(id); |
| 6 counter-increment: c 895; |
| 7 } |
| 8 .caption { -webkit-transform:skew(20deg); } |
| 9 .caption:last-of-type { display: table-caption; } |
| 10 .option:nth-of-type(2n+1) { counter-increment: c 578; } |
| 11 </style> |
| 12 |
| 13 This test passes if it does not CRASH. |
| 14 <option> |
| 15 |
| 16 <script> |
| 17 if (window.testRunner) |
| 18 testRunner.dumpAsText(); |
| 19 |
| 20 onload = function() { |
| 21 var el = document.createElement('li'); |
| 22 el.setAttribute('class', 'caption'); |
| 23 document.body.appendChild(el); |
| 24 |
| 25 document.body.offsetTop; |
| 26 |
| 27 var o = document.querySelector('option'); |
| 28 o.setAttribute('class', 'option'); |
| 29 } |
| 30 </script> |
OLD | NEW |