OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script> | 2 <script> |
3 onload = function() { | 3 onload = function() { |
4 var elm = document.getElementById('elm'); | 4 var elm = document.getElementById('elm'); |
5 document.body.offsetTop; // trigger layout | 5 document.body.offsetTop; // trigger layout |
6 elm.style.display = 'block'; | 6 elm.style.display = 'block'; |
7 } | 7 } |
8 </script> | 8 </script> |
9 <p>Test insertion of a spanner after column content.</p> | 9 <p>Test insertion of a spanner after column content.</p> |
10 <p>There should be two lines below with the word "PASS". Letter spacing is expec
ted to | 10 <p>There should be two lines below with the word "PASS". Letter spacing is expec
ted to |
11 vary. The first word should be in <span style="color:blue;">blue</span>. The sec
ond one | 11 vary. The first word should be in <span style="color:blue;">blue</span>. The sec
ond one |
12 in <span style="color:olive;">olive</span>.</p> | 12 in <span style="color:olive;">olive</span>.</p> |
13 <div style="-webkit-columns:5; -webkit-column-gap:0; width:5em; color:blue;"> | 13 <div style="-webkit-columns:5; -webkit-column-gap:0; width:5em; orphans:1; widow
s:1; color:blue;"> |
14 P<br>A<br>S<br>S | 14 P<br>A<br>S<br>S |
15 <div id="elm" style="display:none; -webkit-column-span:all; color:olive;">PA
SS</div> | 15 <div id="elm" style="display:none; -webkit-column-span:all; color:olive;">PA
SS</div> |
16 </div> | 16 </div> |
OLD | NEW |