OLD | NEW |
1 <style> | 1 <style> |
2 .c1 { display: table; } | 2 .c1 { display: table; } |
3 .c1::after { position: fixed; content: counter(section); } | 3 .c1::after { position: fixed; content: counter(section); } |
4 .c2 { display: table-caption; float: left; } | 4 .c2 { display: table-caption; float: left; } |
5 </style> | 5 </style> |
6 <script> | 6 <script> |
7 var node = document.createElement('q'); | 7 var node = document.createElement('q'); |
8 | 8 |
9 function changeQClass() { | 9 function changeQClass() { |
10 node.setAttribute('class', 'c1'); | 10 node.setAttribute('class', 'c1'); |
(...skipping 11 matching lines...) Expand all Loading... |
22 } | 22 } |
23 | 23 |
24 function runTest() { | 24 function runTest() { |
25 setTimeout("changeQClass();", 10); | 25 setTimeout("changeQClass();", 10); |
26 } | 26 } |
27 window.onload = runTest; | 27 window.onload = runTest; |
28 </script> | 28 </script> |
29 <div class="c2"><textarea></textarea></div> | 29 <div class="c2"><textarea></textarea></div> |
30 <div id="positionedDiv" class="c1">FAIL</div> | 30 <div id="positionedDiv" class="c1">FAIL</div> |
31 <div class="c2"></div> | 31 <div class="c2"></div> |
OLD | NEW |