gecko-dev/layout/style/crashtests/1410226-2.html
Emilio Cobos Álvarez 650a64145b Bug 1410226: Properly compute the insertion point for a display: contents child in an XBL binding. r=mats
MozReview-Commit-ID: DzuGDHZEc1A

--HG--
extra : rebase_source : 59bde9e85e843bd7ce2ee5167b10fcef5dd4d39b
2017-10-20 13:42:15 +02:00

17 lines
335 B
HTML

<!doctype html>
<style>
* { display: contents; }
</style>
<marquee>
<div id="target">
</div>
</marquee>
<script>
document.body.offsetTop;
let div = document.createElement('div');
div.style.display = "block";
div.appendChild(document.createTextNode('where am I'));
target.appendChild(div);
document.body.style.color = "red";
</script>