Skip to content

Commit 657c4b3

Browse files
committed
[css-grid] Remove lingering mention of order/abspos.
1 parent 33c15b6 commit 657c4b3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

css-grid/Overview.bs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3072,9 +3072,9 @@ With a Grid Container as Containing Block</h3>
30723072
<div class='example'>
30733073
<pre>
30743074
.grid {
3075-
grid: 10rem 10rem 10rem 10rem / 1fr 1fr 1fr 1fr;
3076-
/* 4 columns of ''10rem'' each,
3077-
4 equal-height rows filling the <a>grid container</a> */
3075+
grid: 1fr 1fr 1fr 1fr / 10rem 10rem 10rem 10rem;
3076+
/* 4 equal-height rows filling the <a>grid container</a>,
3077+
4 columns of ''10rem'' each */
30783078
justify-content: center;
30793079
/* center the grid horizontally within the <a>grid container</a> */
30803080
position: relative;
@@ -3135,10 +3135,9 @@ With a Grid Container as Containing Block</h3>
31353135
With a Grid Container as Parent</h3>
31363136

31373137
An absolutely-positioned child of a <a>grid container</a>
3138-
does not affect the placement of other items
3138+
is out-of-flow and not a <a>grid item</a>,
3139+
and so does not affect the placement of other items
31393140
or the sizing of the grid.
3140-
However, it does participate in the <a href="#auto-placement-algo">reordering step</a> (see 'order'),
3141-
which has an effect on painting order.
31423141

31433142
The <a href="https://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width">static position</a> [[!CSS21]]
31443143
of an absolutely-positioned child of a <a>grid container</a>

0 commit comments

Comments
 (0)