|
6 | 6 | <meta content="text/html; charset=utf-8" http-equiv=Content-Type> |
7 | 7 | <title>CSS Grid Layout</title> |
8 | 8 |
|
9 | | - <link href="http://purl.org/dc/terms/" rel=schema.DC> |
10 | | - <meta content="CSS Grid Layout" name=DC.title> |
11 | | - <meta content=text name=DC.type> |
12 | | - <meta content=2012-09-08 name=DC.issued> |
13 | | - <meta content="http://dev.w3.org/csswg/css3-grid-layout/" name=DC.creator> |
14 | | - <meta content=W3C name=DC.publisher> |
15 | | - <meta content="http://www.w3.org/TR/2012/ED-css3-grid-layout-20120908/" |
16 | | - name=DC.identifier> |
| 9 | + <link href="http://purl.org/dc/terms/" rel=schema.dcterms> |
17 | 10 | <link href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright" |
18 | | - rel=DC.rights> |
| 11 | + rel=dcterms.rights> |
| 12 | + <meta content="CSS Grid Layout" name=dcterms.title> |
| 13 | + <meta content=text name=dcterms.type> |
| 14 | + <meta content=2012-10-16 name=dcterms.issued> |
| 15 | + <meta content="http://dev.w3.org/csswg/css3-grid-layout/" |
| 16 | + name=dcterms.creator> |
| 17 | + <meta content=W3C name=dcterms.publisher> |
| 18 | + <meta content="http://www.w3.org/TR/2012/ED-css3-grid-layout-20121016/" |
| 19 | + name=dcterms.identifier> |
19 | 20 | <link href="../default.css" rel=stylesheet type="text/css"> |
20 | 21 | <link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet |
21 | 22 | type="text/css"> |
|
57 | 58 | <h1 class=title id=title>CSS Grid Layout</h1> |
58 | 59 |
|
59 | 60 | <h2 class="no-num no-toc" id=longstatus-date-3-march-2012>Editor's Draft, |
60 | | - 8 September 2012</h2> |
| 61 | + 16 October 2012</h2> |
61 | 62 |
|
62 | 63 | <dl> |
63 | 64 | <dt>This version:</dt> |
64 | | - <!-- <dd><a href="http://www.w3.org/TR/2012/ED-css3-grid-layout-20120908/">http://www.w3.org/TR/2012/WD-css3-grid-layout-20120908/</a> --> |
| 65 | + <!-- <dd><a href="http://www.w3.org/TR/2012/ED-css3-grid-layout-20121016/">http://www.w3.org/TR/2012/WD-css3-grid-layout-20121016/</a> --> |
65 | 66 |
|
66 | 67 | <dd><a |
67 | 68 | href="http://dev.w3.org/csswg/css3-grid-layout/">http://dev.w3.org/csswg/css3-grid-layout/</a> |
@@ -514,10 +515,10 @@ <h3 id=source-independence0><span class=secno>2.3. </span>Source |
514 | 515 | </div> |
515 | 516 |
|
516 | 517 | <div class=sidefigure> |
517 | | - <p> <img alt="Image: An arrangment suitable for landscape orientation." |
| 518 | + <p> <img alt="Image: An arrangement suitable for landscape orientation." |
518 | 519 | src="images/game-landscape.png"> |
519 | 520 |
|
520 | | - <p class=caption>An arrangment suitable for ‘<code |
| 521 | + <p class=caption>An arrangement suitable for ‘<code |
521 | 522 | class=css>landscape</code>’ orientation. |
522 | 523 | </div> |
523 | 524 |
|
@@ -1309,9 +1310,9 @@ <h3 id=defining-grid-areas-with-a-template0><span class=secno>4.6. |
1309 | 1310 | href="#grid-area-concept"><i>grid areas</i></a> may have the same |
1310 | 1311 | identifier. Duplicate identifiers define a <a |
1311 | 1312 | href="#grid-area-concept"><i>grid area</i></a> which spans multiple |
1312 | | - tracks, and must therefore therefore be geometrically adjacent to each |
1313 | | - other, forming a rectangular shape. A declaration which fails to meet |
1314 | | - these criteria will be dropped. |
| 1313 | + tracks, and must therefore be geometrically adjacent to each other, |
| 1314 | + forming a rectangular shape. A declaration which fails to meet these |
| 1315 | + criteria will be dropped. |
1315 | 1316 |
|
1316 | 1317 | <p> In the following example, a ‘<a href="#grid-template"><code |
1317 | 1318 | class=property>grid-template</code></a>’ property is used to create a |
@@ -1828,7 +1829,7 @@ <h3 id=grid-row-span-and-grid-column-span0><span class=secno>6.1. |
1828 | 1829 | <h3 id=grid-shorthand-properties0><span class=secno>6.2. </span>Grid |
1829 | 1830 | shorthand properties</h3> |
1830 | 1831 |
|
1831 | | - <p>For all shorthand properties below, specifiying an <identifier> |
| 1832 | + <p>For all shorthand properties below, specifying an <identifier> |
1832 | 1833 | sets the values of all longhand properties associated with the |
1833 | 1834 | shorthand property to the values associated with the <identifier> |
1834 | 1835 | . |
@@ -2407,14 +2408,14 @@ <h3 id=automatic-placement-of-grid-items0><span class=secno>6.5. |
2407 | 2408 | href="#grid-auto-flow"><code |
2408 | 2409 | class=property>grid-auto-flow</code></a>’ property controls the |
2409 | 2410 | direction in which the search for unoccupied space takes place, and |
2410 | | - whether rows or columns are added as needed to accomodate the content. |
| 2411 | + whether rows or columns are added as needed to accommodate the content. |
2411 | 2412 |
|
2412 | 2413 | <p> A ‘<a href="#grid-auto-flow"><code |
2413 | 2414 | class=property>grid-auto-flow</code></a>’ value of ‘<a |
2414 | 2415 | href="#rows"><code class=css>rows</code></a>’ will place <a |
2415 | 2416 | href="#grid-item"><i>grid item</i></a>s in row-major order by searching |
2416 | 2417 | across columns and then rows for unoccupied space, and will create |
2417 | | - additional rows as needed to accomodate content <a |
| 2418 | + additional rows as needed to accommodate content <a |
2418 | 2419 | href="#grid-item"><i>grid item</i></a>s. Similarly, a ‘<a |
2419 | 2420 | href="#grid-auto-flow"><code |
2420 | 2421 | class=property>grid-auto-flow</code></a>’ value of ‘<a |
@@ -2524,7 +2525,7 @@ <h3 id=automatic-placement-of-grid-items0><span class=secno>6.5. |
2524 | 2525 | href="#rows"><code class=css>rows</code></a>’ which instructs the |
2525 | 2526 | grid to search across its three columns starting with the first row, |
2526 | 2527 | then the next, adding rows as needed until sufficient space is located |
2527 | | - to accomodate the position of any auto-placed <a |
| 2528 | + to accommodate the position of any auto-placed <a |
2528 | 2529 | href="#grid-item"><i>Grid item</i></a>. Figure 11 illustrates the |
2529 | 2530 | result. |
2530 | 2531 |
|
@@ -2861,7 +2862,7 @@ <h3 id=grid-track-sizing-algorithm0><span class=secno>9.2. </span>Grid |
2861 | 2862 |
|
2862 | 2863 | <li>That each <a href="#grid-track"><i>Grid track</i></a> grows from |
2863 | 2864 | the breadth which satisfied its MinTrackSizingFunction to a breadth |
2864 | | - which satifies its MaxTrackSizingFunction, subject to |
| 2865 | + which satisfies its MaxTrackSizingFunction, subject to |
2865 | 2866 | RemainingSpace. |
2866 | 2867 | </ol> |
2867 | 2868 |
|
@@ -2899,7 +2900,7 @@ <h3 id=grid-track-sizing-algorithm0><span class=secno>9.2. </span>Grid |
2899 | 2900 | href="#grid-track"><i>Grid track</i></a> now contains the resolved |
2900 | 2901 | value for its MaxTrackSizingFunction. |
2901 | 2902 |
|
2902 | | - <p> In step 3, the second goal of this function is satisified as each |
| 2903 | + <p> In step 3, the second goal of this function is satisfied as each |
2903 | 2904 | (non-fraction-sized) <a href="#grid-track"><i>Grid track</i></a> |
2904 | 2905 | attempts to grow from the UsedBreadth value to the MaxBreadth value, |
2905 | 2906 | subject to RemainingSpace. |
@@ -3083,13 +3084,13 @@ <h3 id=grid-track-sizing-algorithm0><span class=secno>9.2. </span>Grid |
3083 | 3084 |
|
3084 | 3085 | <p class=issue> Currently this algorithm embodies several heuristics |
3085 | 3086 | which regulate the growth of spanning <a href="#grid-item"><i>Grid |
3086 | | - items</i></a> to accomodate certain use cases. (E.g. the game example |
3087 | | - in Figures 2 and 3 above.) These heuristics should be a normative |
3088 | | - part of this specification to ensure interoperability. To the extent |
3089 | | - additional use cases can be identified that cannot be satisfied by |
3090 | | - following the current heuristics, the normative algorithm can be |
3091 | | - updated, or additional mechanisms can be introduced for fine-grained |
3092 | | - control of content-based TrackSizingFunction. |
| 3087 | + items</i></a> to accommodate certain use cases. (E.g. the game |
| 3088 | + example in Figures 2 and 3 above.) These heuristics should be a |
| 3089 | + normative part of this specification to ensure interoperability. To |
| 3090 | + the extent additional use cases can be identified that cannot be |
| 3091 | + satisfied by following the current heuristics, the normative |
| 3092 | + algorithm can be updated, or additional mechanisms can be introduced |
| 3093 | + for fine-grained control of content-based TrackSizingFunction. |
3093 | 3094 |
|
3094 | 3095 | <dl> |
3095 | 3096 | <dt> <dfn |
@@ -3648,7 +3649,7 @@ <h3 class=no-num id=changes-from-previous-version-12-april-2012>Changes |
3648 | 3649 | <li>Section 10.2: Updated DistributeSpaceToTracks to us TracksForGrowth |
3649 | 3650 | in step 4, rather than all Grid Tracks. |
3650 | 3651 |
|
3651 | | - <li>Section 10.2: Fixed minor spelling error "Contstriant" |
| 3652 | + <li>Section 10.2: Fixed minor spelling error "Constraint" |
3652 | 3653 |
|
3653 | 3654 | <li>Section 11: Added a definition of the preferred minimum width and |
3654 | 3655 | the preferred width of the Grid element. |
@@ -3783,10 +3784,10 @@ <h3 class=no-num id=normative-references> Normative references</h3> |
3783 | 3784 | <dt id=CSS3VAL>[CSS3VAL] |
3784 | 3785 |
|
3785 | 3786 | <dd>Håkon Wium Lie; Tab Atkins; Elika J. Etemad. <a |
3786 | | - href="http://www.w3.org/TR/2012/WD-css3-values-20120308/"><cite>CSS |
3787 | | - Values and Units Module Level 3.</cite></a> 8 March 2012. W3C Working |
3788 | | - Draft. (Work in progress.) URL: <a |
3789 | | - href="http://www.w3.org/TR/2012/WD-css3-values-20120308/">http://www.w3.org/TR/2012/WD-css3-values-20120308/</a> |
| 3787 | + href="http://www.w3.org/TR/2012/CR-css3-values-20120828/"><cite>CSS |
| 3788 | + Values and Units Module Level 3.</cite></a> 28 August 2012. W3C |
| 3789 | + Candidate Recommendation. (Work in progress.) URL: <a |
| 3790 | + href="http://www.w3.org/TR/2012/CR-css3-values-20120828/">http://www.w3.org/TR/2012/CR-css3-values-20120828/</a> |
3790 | 3791 | </dd> |
3791 | 3792 | <!----> |
3792 | 3793 | </dl> |
|
0 commit comments