OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script> | 2 <script> |
3 if (window.internals) | |
4 internals.settings.setRegionBasedColumnsEnabled(true); | |
5 onload = function() { | 3 onload = function() { |
6 document.body.offsetTop; // trigger layout | 4 document.body.offsetTop; // trigger layout |
7 document.getElementById('elm').style.height = '0'; | 5 document.getElementById('elm').style.height = '0'; |
8 } | 6 } |
9 </script> | 7 </script> |
10 <p>There should be a blue <em>square</em> below, with no red.</p> | 8 <p>There should be a blue <em>square</em> below, with no red.</p> |
11 <div style="-webkit-columns:3; columns:3; -webkit-column-gap:0; column-gap:0; wi
dth:9em; line-height:9em; background:blue;"> | 9 <div style="-webkit-columns:3; columns:3; -webkit-column-gap:0; column-gap:0; wi
dth:9em; line-height:9em; background:blue;"> |
12 <br> | 10 <br> |
13 <br> | 11 <br> |
14 <div id="elm" style="height:10em; background:red;"></div> | 12 <div id="elm" style="height:10em; background:red;"></div> |
15 <br> | 13 <br> |
16 </div> | 14 </div> |
OLD | NEW |