gecko-dev/layout/style/crashtests/1404324-2.html
Emilio Cobos Álvarez 660ab8f549 Bug 1404324: Use the placeholder state to remove out-of-flows that aren't real descendants of the destruction root. r=bz
Using the style of the frame can mess things up when we reparent them due to
::first-line before removing them.

MozReview-Commit-ID: 3Dt0wF2XRAH
2017-10-04 10:49:41 +02:00

11 lines
201 B
HTML

<style>
del, *::first-line {
position: absolute;
}
</style>
<del></del>
<script>
document.documentElement.offsetTop;
document.styleSheets[0].cssRules[0].style.position = 'sticky'
</script>