OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 .style1:nth-last-child(odd) { padding-right: 100px; } | 4 .style1:nth-last-child(odd) { padding-right: 100px; } |
5 .styleCounterBefore:before { position: absolute; content: counter(section); } | 5 .styleCounterBefore:before { position: absolute; content: counter(section); } |
6 </style> | 6 </style> |
7 <script> | 7 <script> |
8 window.onload = function() { | 8 window.onload = function() { |
9 divElem = document.createElement('div'); | 9 divElem = document.createElement('div'); |
10 divElem.setAttribute('class', 'styleCounterBefore'); | 10 divElem.setAttribute('class', 'styleCounterBefore'); |
(...skipping 11 matching lines...) Expand all Loading... |
22 document.documentElement.offsetHeight; | 22 document.documentElement.offsetHeight; |
23 document.documentElement.removeChild(trElem); | 23 document.documentElement.removeChild(trElem); |
24 | 24 |
25 document.documentElement.appendChild(document.createTextNode('PASS, if no cr
ash or assert in debug')); | 25 document.documentElement.appendChild(document.createTextNode('PASS, if no cr
ash or assert in debug')); |
26 | 26 |
27 if (window.layoutTestController) | 27 if (window.layoutTestController) |
28 layoutTestController.dumpAsText(); | 28 layoutTestController.dumpAsText(); |
29 } | 29 } |
30 </script> | 30 </script> |
31 </html> | 31 </html> |
OLD | NEW |