blob: d01ca35ad41faabdbeb3d0aa5764acc0063a95bd [file] [log] [blame]
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15208">http://bugs.webkit.org/show_bug.cgi?id=15208</a>
display:table causes the collapsed text to show at a different position when expanded</i>.
</p>
<p>
This should say &ldquo;Lorem ipsum&rdquo;:
</p>
<div id="table" style="display: table;">
ipsum
</div>
<script>
var table = document.getElementById("table");
table.insertBefore(document.createTextNode("Lorem"), table.firstChild);
</script>