mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
660ab8f549
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
11 lines
201 B
HTML
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>
|