Skip to content

Commit e245466

Browse files
committed
[css-align-3] Allow endward overflow of abspos into scrollable region #12106
1 parent 93aeb5c commit e245466

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

css-align-3/Overview.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,12 @@ Self-Alignment for Absolutely Positioned Boxes</h5>
918918
For this purpose, the |overflow limit rect| is the bounding rectangle
919919
of the [=alignment subject's=] [=inset-modified containing block=]
920920
and its [=original containing block=].
921+
However, because the [=scrollable overflow area=] of a [=scroll container=]
922+
can be extended to ensure the visibility of overflowing [=absolutely positioned=] boxes,
923+
if the [=original containing block=] is generated by a [=scroll container=]
924+
(and is not its [=fixed containing block=]),
925+
the |overflow limit rect| is extended to infinity
926+
in any direction that does not extend into the [=unreachable scrollable overflow region=].
921927
</div>
922928

923929
(For [=absolutely-positioned=] [=alignment subjects=] that fail the above condition,
@@ -2516,6 +2522,9 @@ Changes</h2>
25162522

25172523
Changes since the <a href="https://www.w3.org/TR/2025/WD-css-align-3-20250311/">11 March 2025 Working Draft</a> include:
25182524
* Clarify that [[#auto-safety-position]] applies when 'position-area' alters the [=used value=] of ''align-self/normal''.
2525+
* Allow absolutely positioned boxes to honor alignment even when overflowing into
2526+
the scrollable overflow area of a scroll container containing block.
2527+
(<a href="https://github.com/w3c/csswg-drafts/issues/12106">Issue 12106</a>)
25192528

25202529
See also <a href="https://www.w3.org/TR/2025/WD-css-align-3-20250311/#changes">previous changes</a>.
25212530

0 commit comments

Comments
 (0)