Skip to content

Commit c66a57a

Browse files
committed
[css-position-3] Deal with overflowing content as well.
1 parent 363aa9c commit c66a57a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

css-position-3/Overview.bs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,9 +595,13 @@ Sticky positioning</h3>
595595
the corresponding edge of the [=sticky viewport rectangle=],
596596
then the box must be visually shifted (as for relative positioning)
597597
to be inward of that [=sticky viewport rectangle=] edge,
598-
insofar as it can while its [=margin box=]
599-
(less any margins that have collapsed with its parent)
598+
insofar as it can while its [=position box=]
600599
remains contained within its [=containing block=].
600+
The <dfn>position box</dfn> is its [=margin box=],
601+
except that for any side for which the distance between its [=margin edge=]
602+
and the corresponding edge of its [=containing block=]
603+
is less than its corresponding [=margin=],
604+
that distance is used in place of that [=margin=].
601605

602606
Note: A sticky positioned element with
603607
a non-''auto'' 'top' value and an ''auto'' 'bottom' value
@@ -608,8 +612,6 @@ Sticky positioning</h3>
608612
are offset independently,
609613
and therefore might overlap.
610614

611-
Issue: Say what happens if it already overflows the containing block
612-
613615
<!-- End section: Sticky positioning -->
614616

615617
<h3 id="abs-pos">

0 commit comments

Comments
 (0)