File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -637,6 +637,22 @@ Sticky positioning</h3>
637637 are offset independently,
638638 and therefore might overlap.
639639
640+ <h4 id="stickypos-scroll">
641+ Scroll Position of Sticky-Positioned Boxes</h4>
642+
643+ For the purposes of any operation targetting the scroll position
644+ of a sticky positioned element (or one of its descendants),
645+ the sticky positioned element must be considered to be positioned
646+ at its initial (non-offsetted) position.
647+
648+ <div class="example">
649+ For example, if a user clicks a link targetting a [=sticky-positioned=] element,
650+ even if the element's [=nearest scrollport=] is currently scrolled
651+ such that the [=sticky positioned=] element is offset from its initial position,
652+ the [=scrollport=] will be scrolled back
653+ so that the element's initial position is visible.
654+ </div>
655+
640656
641657<h3 id="abspos-insets" oldids="abs-pos">
642658Absolute Positioning</h3>
You can’t perform that action at this time.
0 commit comments