| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Remove all content from row before spanner</title> |
| <script> |
| function test() { |
| var elm = document.getElementById('elm'); |
| elm.offsetTop; // trigger layout |
| elm.style.display = 'none'; |
| } |
| </script> |
| <style> |
| .spanner { -webkit-column-span:all; column-span:all; } |
| </style> |
| </head> |
| <body onload="test()"> |
| <p>You should see the word "PASS" on a lime background below.</p> |
| <div style="float:left; overflow:hidden;"> |
| <div style="-webkit-columns:4; columns:4; column-gap:0; -webkit-column-gap:0; orphans:1; widows:1; background:lime;"><div id="elm">F<br>A<br>I<br>L</div><div class="spanner">PASS</div> |
| </div> |
| </div> |
| </body> |
| </html> |