OLD | NEW |
1 <style> | 1 <style> |
2 .c9::before { float: right; content: counter(section); } | 2 .c9::before { float: right; content: counter(section); } |
3 .c9 { display: list-item; } | 3 .c9 { display: list-item; } |
4 .c19 { display: table-row; } | 4 .c19 { display: table-row; } |
5 .c19:nth-child(even) { position: fixed; } | 5 .c19:nth-child(even) { position: fixed; } |
6 </style> | 6 </style> |
7 <script> | 7 <script> |
8 var nodes = Array(); | 8 var nodes = Array(); |
9 function runTest() { | 9 function runTest() { |
10 firstDiv = document.createElement('div'); | 10 firstDiv = document.createElement('div'); |
(...skipping 21 matching lines...) Expand all Loading... |
32 secondDiv.setAttribute('class', 'c1'); | 32 secondDiv.setAttribute('class', 'c1'); |
33 document.body.offsetTop; | 33 document.body.offsetTop; |
34 firstDiv.setAttribute('class', 'c1'); | 34 firstDiv.setAttribute('class', 'c1'); |
35 | 35 |
36 if (window.layoutTestController) | 36 if (window.layoutTestController) |
37 layoutTestController.dumpAsText(); | 37 layoutTestController.dumpAsText(); |
38 } | 38 } |
39 window.onload = runTest; | 39 window.onload = runTest; |
40 </script> | 40 </script> |
41 PASS if no assert or crash on debug | 41 PASS if no assert or crash on debug |
OLD | NEW |