blob: 7216f0e8c650962653f3523d94417742d1a48c3f [file] [log] [blame]
<!DOCTYPE html>
<body>
crbug.com/459533: Don't crash when changing an element to one that interacts with other floats to one that can't.
</body>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
var iframe = document.createElement('iframe');
document.body.appendChild(iframe);
iframe.style.cssFloat='right';
document.documentElement.style.padding='913917816% 300vmin 0vmax';
var div = document.createElement('div');
div.style.webkitWritingMode='horizontal-tb';
document.documentElement.appendChild(div);
window.setTimeout("updateStyle()",0);
function updateStyle() {
document.documentElement.style.webkitWritingMode='vertical-rl';
iframe.style.all='unset';
document.documentElement.clientWidth;
iframe.style.marginBlockEnd='22vmin';
if (window.testRunner)
testRunner.notifyDone();
}
</script>