| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Insert spanner before collapsable whitespace before spanner between column rows</title> |
| <script> |
| function test() { |
| var elm = document.getElementById('elm'); |
| document.body.offsetTop; // trigger layout |
| elm.style.display = 'block'; |
| } |
| </script> |
| </head> |
| <body onload="test()"> |
| <p>There should be four lines below with the word "PASS". Letter spacing is expected to |
| vary. The first line should be in <span style="color:green;">green</span>. The second one |
| in <span style="color:blue;">blue</span>, the third one |
| in <span style="color:olive;">olive</span>, and the fourth one |
| in <span style="color:orange;">orange</span>.</p> |
| <div style="float:left; overflow:hidden;"> |
| <div style="-webkit-columns:5; columns:5; column-gap:0; -webkit-column-gap:0; orphans:1; widows:1; color:green;"> |
| P<br>A<br>S<br>S |
| <div id="elm" style="display:none; -webkit-column-span:all; column-span:all; color:blue;">PASS</div> |
| <div style="-webkit-column-span:all; column-span:all; color:olive;">PASS</div> |
| <span style="color:orange;">P<br>A<br>S<br>S</span> |
| </div> |
| </div> |
| </body> |
| </html> |