| <!DOCTYPE html> |
| <html> |
| <head> |
| <script> |
| function test() { |
| var elm = document.getElementById('elm'); |
| elm.offsetTop; // trigger layout |
| elm.style.WebkitColumns = '4'; |
| elm.style.columns = '4'; |
| elm.style.overflow = 'visible'; |
| } |
| </script> |
| </head> |
| <body onload="test()"> |
| <p>You should see the word 'PASS' below three times below. Letter spacing may vary.</p> |
| <div style="float:left;"> |
| <div id="elm" style="overflow:-webkit-paged-x; -webkit-column-gap:0; column-gap:0; orphans:1; widows:1;"> |
| P<br> |
| A<br> |
| S<br> |
| S<br> |
| <div style="-webkit-column-span:all; column-span:all;">PASS</div> |
| P<br> |
| A<br> |
| S<br> |
| S<br> |
| </div> |
| </div> |
| </body> |
| </html> |