<!DOCTYPE html> | |
<style> | |
.green { | |
width: 50px; | |
height: 25px; | |
background-color: green; | |
} | |
</style> | |
<span> | |
This text should be on | |
<div id="elm" style="display:none;">the same line</div><div></div> | |
</span> | |
<p>crbug.com/372832: Test that adding an inline anonymous table before a div inside a block continuation gets added to the pre-block not the middle block.</p> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
document.body.offsetTop; | |
elm.style.display = "table-cell"; | |
</script> |