| OLD | NEW | 
|   1 <!DOCTYPE html> |   1 <!DOCTYPE html> | 
|   2 <html> |   2 <html> | 
|   3     <head> |   3     <head> | 
|   4         <title>Change multicol to regular block</title> |  | 
|   5         <script> |   4         <script> | 
|   6             if (window.internals) |   5             if (window.internals) | 
|   7                 internals.settings.setRegionBasedColumnsEnabled(true); |   6                 internals.settings.setRegionBasedColumnsEnabled(true); | 
|   8             function test() { |   7             function test() { | 
|   9                 var elm = document.getElementById('elm'); |   8                 var elm = document.getElementById('elm'); | 
|  10                 elm.offsetTop; // trigger layout |   9                 elm.offsetTop; // trigger layout | 
|  11                 elm.style.WebkitColumns = 'auto'; |  10                 elm.style.WebkitColumns = 'auto'; | 
|  12                 elm.style.columns = 'auto'; |  11                 elm.style.columns = 'auto'; | 
 |  12                 elm.style.overflow = '-webkit-paged-x'; | 
|  13             } |  13             } | 
|  14         </script> |  14         </script> | 
|  15     </head> |  15     </head> | 
|  16     <body onload="test()"> |  16     <body onload="test()"> | 
|  17         <p>There should be a blue <em>square</em> below.</p> |  17         <p>There should be nothing below, except for a horizontal scrollbar.</p> | 
|  18         <div id="elm" style="-webkit-columns:4; columns:4; orphans:1; widows:1; 
    width:16em; line-height:4em; background:blue;"> |  18         <div id="elm" style="-webkit-columns:4; columns:4; -webkit-column-fill:a
    uto; column-fill:auto; height:11em; orphans:1; widows:1; width:16em; line-height
    :4em;"> | 
|  19             <br> |  19             <br> | 
|  20             <br> |  20             <br> | 
|  21             <br> |  21             <br> | 
|  22             <br> |  22             FAIL | 
|  23         </div> |  23         </div> | 
|  24     </body> |  24     </body> | 
|  25 </html> |  25 </html> | 
| OLD | NEW |