Skip to content

Commit 3526a34

Browse files
committed
[css-grid] Add dense packing.
1 parent da9b4ce commit 3526a34

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

css-grid/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,10 +1663,10 @@ <h4 data-level=6.2.1 id=auto-placement-algo><span class=secno>6.2.1 </span><span
16631663
and return to the previous step.
16641664
</ol>
16651665
</dl>
1666-
</ol>
16671666

1668-
<p class=issue>
1669-
Edit the algorithm to allow for dense packing.
1667+
<p> If <a class=property data-link-type=propdesc href=#propdef-grid-auto-flow title=grid-auto-flow>grid-auto-flow</a> specifies the <a class=css data-link-type=maybe href=#valuedef-dense>dense</a> keyword,
1668+
reset the <a href=#auto-placement-cursor>auto-placement cursor</a> to 1/1 each time an item is placed.
1669+
</ol>
16701670

16711671
<h3 data-level=6.3 id=grid-auto-position-property><span class=secno>6.3 </span><span class=content>
16721672
Default Position: the <a class=property data-link-type=propdesc href=#propdef-grid-auto-position title=grid-auto-position>grid-auto-position</a> property</span><a class=section-link href=#grid-auto-position-property>§</a></h3>

css-grid/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1658,10 +1658,10 @@ <h4 id='auto-placement-algo'>
16581658
and return to the previous step.
16591659
</ol>
16601660
</dl>
1661-
</ol>
16621661

1663-
<p class='issue'>
1664-
Edit the algorithm to allow for dense packing.
1662+
If 'grid-auto-flow' specifies the ''dense'' keyword,
1663+
reset the <a>auto-placement cursor</a> to 1/1 each time an item is placed.
1664+
</ol>
16651665

16661666
<h3 id="grid-auto-position-property">
16671667
Default Position: the 'grid-auto-position' property</h3>

0 commit comments

Comments
 (0)