Skip to content

Commit

Permalink
[css-grid-1] Grid is included in scrollable overflow area. #3638
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasai committed Apr 18, 2019
1 parent 88883ec commit 86f069a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion css-grid-1/Overview.bs
Expand Up @@ -905,6 +905,19 @@ Sizing Grid Containers</h3>
in the appropriate axis,
when the grid is sized under a <a>max-content constraint</a> (<a>min-content constraint</a>).

<h3 id='overflow'>
Scrollable Grid Overflow</h3>

Just as it is included in intrinsic sizing (see above),
the <a>grid</a> is also included
in a <a>grid container</a>’s <a>scrollable overflow region</a>.

Note: Beware the interaction with padding
when the <a>grid container</a> is a <a>scroll container</a>:
additional padding is defined to be added
to the <a>scrollable overflow rectangle</a>
as needed to enable ''place-content: end'' alignment of scrollable content.
See [[css-overflow-3#scrollable]]

<!--
██████ ██ ███ ██ ██ ████████ ████ ██ ██ ██████
Expand All @@ -917,7 +930,7 @@ Sizing Grid Containers</h3>
-->

<h3 id="overlarge-grids">
Clamping Overly Large Grids</h3>
Limiting Large Grids</h3>

Since memory is limited,
UAs may clamp the possible size of the <a>implicit grid</a>
Expand Down

0 comments on commit 86f069a

Please sign in to comment.