| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Change display property of spanner parent</title> |
| <script> |
| function test() { |
| var elm = document.getElementById('elm'); |
| document.body.offsetTop; // trigger layout |
| elm.style.display = 'inline'; |
| } |
| </script> |
| </head> |
| <body onload="test()"> |
| <p>You should see two lines with the word "PASS" below.</p> |
| <div style="-webkit-columns:3; columns:3; column-fill:auto; -webkit-column-fill:auto; height:5em;"> |
| <div id="elm"> |
| <div style="-webkit-column-span:all; column-span:all;">PASS</div> |
| PA</div>SS |
| </div> |
| </body> |
| </html> |