gecko-dev/layout/style/crashtests/1404324-1.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

13 lines
440 B
HTML

<style></style>
<script>
document.documentElement.className = 'c1'
o1 = document.createElement('form')
o2 = document.createElement('e')
o1.className = 'c2'
document.documentElement.appendChild(o1)
document.documentElement.appendChild(o2)
document.styleSheets[0].insertRule('.c1:first-line, .c2 { position:fixed', 0);
document.documentElement.getBoundingClientRect()
document.styleSheets[0].cssRules[0].style.position = 'relative'
</script>