|
11 | 11 | rel=dcterms.rights> |
12 | 12 | <meta content="CSS Grid Layout" name=dcterms.title> |
13 | 13 | <meta content=text name=dcterms.type> |
14 | | - <meta content=2013-08-08 name=dcterms.date> |
| 14 | + <meta content=2013-08-14 name=dcterms.date> |
15 | 15 | <meta content="Tab Atkins Jr." name=dcterms.creator> |
16 | 16 | <meta content="Elika J. Etemad" name=dcterms.creator> |
17 | 17 | <meta content="Rossen Atanassov" name=dcterms.creator> |
|
59 | 59 |
|
60 | 60 | <h1 class=title id=title>CSS Grid Layout</h1> |
61 | 61 |
|
62 | | - <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft, 8 August 2013</h2> |
| 62 | + <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft, 14 August |
| 63 | + 2013</h2> |
63 | 64 |
|
64 | 65 | <dl> |
65 | 66 | <dt>This version: |
66 | | - <!-- <dd><a href="http://dev.w3.org/csswg/css3-grid-layout/">http://www.w3.org/TR/2013/WD-css3-grid-layout-20130808/</a> --> |
| 67 | + <!-- <dd><a href="http://dev.w3.org/csswg/css3-grid-layout/">http://www.w3.org/TR/2013/WD-css3-grid-layout-20130814/</a> --> |
67 | 68 |
|
68 | 69 | <dd><a |
69 | 70 | href="http://dev.w3.org/csswg/css3-grid-layout/">http://dev.w3.org/csswg/css3-grid-layout/</a> |
@@ -2354,7 +2355,7 @@ <h3 id=grid-auto-flow-property><span class=secno>6.3. </span> Automatic |
2354 | 2355 | <tr> |
2355 | 2356 | <td>Value: |
2356 | 2357 |
|
2357 | | - <td>rows | columns |
| 2358 | + <td>[ rows | columns ] && dense? |
2358 | 2359 |
|
2359 | 2360 | <tr> |
2360 | 2361 | <td>Initial: |
@@ -2405,6 +2406,15 @@ <h3 id=grid-auto-flow-property><span class=secno>6.3. </span> Automatic |
2405 | 2406 |
|
2406 | 2407 | <dd> The auto-placement algorithm places items by filling each column in |
2407 | 2408 | turn, adding new columns as necessary. |
| 2409 | + |
| 2410 | + <dt><dfn id=dense>‘<code class=css>dense</code>’</dfn> |
| 2411 | + |
| 2412 | + <dd> If specified, the auto-placement algorithm uses a "dense" packing |
| 2413 | + algorithm, which attempts to fill in holes in the grid if smaller items |
| 2414 | + come up later. (By default, the auto-placement algorithm is "sparse", |
| 2415 | + permanently skipping spaces that it can't fill with the curren grid |
| 2416 | + item.) |
| 2417 | + <p class=note> Note: This may cause items to appear out-of-order. |
2408 | 2418 | </dl> |
2409 | 2419 |
|
2410 | 2420 | <p class=issue> Add a value for stacking items on top of each other? |
@@ -3879,6 +3889,9 @@ <h2 class=no-num id=index> Index</h2> |
3879 | 3889 | href="#function-ComputeUsedBreadthOfGridTracks" |
3880 | 3890 | title="section 8.2."><strong>8.2.</strong></a> |
3881 | 3891 |
|
| 3892 | + <li>‘<code class=css>dense</code>’, <a href="#dense" |
| 3893 | + title="section 6.3."><strong>6.3.</strong></a> |
| 3894 | + |
3882 | 3895 | <li>DistributeSpaceToTracks, <a href="#function-DistributeSpaceToTracks" |
3883 | 3896 | title="section 8.2."><strong>8.2.</strong></a> |
3884 | 3897 |
|
@@ -4164,7 +4177,7 @@ <h2 class=no-num id=property-index> Property index</h2> |
4164 | 4177 | <tr> |
4165 | 4178 | <th><a class=property href="#grid-auto-flow">grid-auto-flow</a> |
4166 | 4179 |
|
4167 | | - <td>rows | columns |
| 4180 | + <td>[ rows | columns ] && dense? |
4168 | 4181 |
|
4169 | 4182 | <td>rows |
4170 | 4183 |
|
|
0 commit comments