Skip to content

Commit 34be1b1

Browse files
committed
[css3-grid-layout] Missing placement-scoping bullet for subgrids.
1 parent ea707f4 commit 34be1b1

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

css3-grid-layout/Overview.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -966,10 +966,15 @@ <h3 id=subgrids-the-subgrid-display-value><span class=secno>3.2.
966966
<code class=property>grid-row-span</code>’ of the item is determined
967967
by the number of grid rows and grid columns it contains.
968968

969-
<li> Its own grid items participate in the sizing of its parent grid and
970-
are aligned to it. In this process, the sum of the item's margin,
971-
padding, and borders are applied as an extra layer of margin to the items
972-
at those edges.
969+
<li> The <a href="#grid-placement-properties"><i>grid-placement
970+
properties</i></a> are scoped to the tracks covered by the subgrid:
971+
numeric indices count starting from the first line of the subgrid rather
972+
than the first line of the parent grid.
973+
974+
<li> The subgrid's own grid items participate in the sizing of its parent
975+
grid and are aligned to it. In this process, the sum of the item's
976+
margin, padding, and borders are applied as an extra layer of margin to
977+
the items at those edges.
973978
</ul>
974979

975980
<div class=example>

css3-grid-layout/Overview.src.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,9 +646,14 @@ <h3>Subgrids: the ''subgrid'' 'display' value</h3>
646646

647647
<li>
648648
The used 'grid-column-span' and 'grid-row-span' of the item is determined by the number of grid rows and grid columns it contains.
649+
650+
<li>
651+
The <i>grid-placement properties</i> are scoped to the tracks covered by the subgrid:
652+
numeric indices count starting from the first line of the subgrid
653+
rather than the first line of the parent grid.
649654

650655
<li>
651-
Its own grid items participate in the sizing of its parent grid and are aligned to it.
656+
The subgrid's own grid items participate in the sizing of its parent grid and are aligned to it.
652657
In this process, the sum of the item's margin, padding, and borders are applied as an extra layer of margin to the items at those edges.
653658
</ul>
654659

0 commit comments

Comments
 (0)