| <body onload="runTest()"> |
| if (window.layoutTestController) |
| layoutTestController.dumpAsText(); |
| var container = document.getElementById('container'); |
| var test = document.getElementById('test'); |
| var blockquote = document.getElementById('blockquote'); |
| blockquote.parentNode.removeChild(blockquote); |
| test.appendChild(blockquote); |
| test.parentNode.removeChild(test); |
| if (window.layoutTestController) { |
| // Force a focus in which forces a paint that can trigger the crash. |
| layoutTestController.setWindowIsKey(false); |
| layoutTestController.setWindowIsKey(true); |
| document.getElementById("results").innerHTML = "PASS"; |
| <div>This test passes if it does not crash.</div> |
| <div id="container" style="display: -webkit-box;"> |
| <span style="float: right;">This is a floating span.</span> |
| <blockquote id="blockquote">blockquote</blockquote> |