Name Description Size Coverage
position-absolute-iframe-child-002.sub.html 345 -
position-absolute-iframe-child.html 187 -
position-sticky-fixed-ancestor-iframe-child.html 904 -
ref-rectangle.js The function positions a new div to exactly the bounding client rect without using sticky position. If it's directly under the sticky element it could be obscured and not show up when compared to the ref. 1570 -
sticky-util.js Builds a generic structure that looks like: <div class="scroller"> // 100x200 viewport <div class="contents"> // 100x500 <div class="prepadding"></div> // 100x100 <div class="container"> // 300x300 containing block <div class="filler"></div> // 100x100 <div class="sticky box"></div> // 100x100 </div> </div> </div> If the sticky direction is 'left' or 'right', the necessary blocks will be marked as inline-block and the dimensions above are flipped. Returns an 'elements' object which has each of the above elements as an accessible property. 4285 -