Skip to content

Commit 08ff993

Browse files
committed
Generated. Do not edit!
1 parent 5fe2220 commit 08ff993

1 file changed

Lines changed: 34 additions & 13 deletions

File tree

css3-layout/Overview.html

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
<h1>CSS Grid Template Layout Module</h1>
3737
<!--=================================================================-->
3838
<h2 class="no-num no-toc" id=longstatus-date-3-august-2004>Editor's Draft
39-
16 May 2012</h2>
39+
23 May 2012</h2>
4040

4141
<dl>
4242
<dt>This version:
4343

4444
<dd><a
45-
href="http://www.w3.org/TR/2012/ED-css3-layout-20120516/">http://www.w3.org/TR/2012/ED-css3-layout-20120516/</a>
45+
href="http://www.w3.org/TR/2012/ED-css3-layout-20120523/">http://www.w3.org/TR/2012/ED-css3-layout-20120523/</a>
4646

4747

4848
<dt>Latest version:
@@ -548,12 +548,12 @@ <h3 id=summary-and-examples><span class=secno>1.1. </span>Summary and
548548
“zunflower” design</a> of the CSS Zen Garden could be done:
549549

550550
<pre>
551-
#container {grid: "abc"}
552-
#container::slot(a) {box-shadow: 0.5em 0.5em 0.5em; z-index: 1}
553-
#container::slot(b) {box-shadow: 0.5em 0.5em 0.5em; margin-left: -2em}
554-
#intro {flow: a}
555-
#supportingText {flow: b}
556-
#linkList {flow: c}
551+
#container {grid: "ABC"}
552+
#container::slot(A) {box-shadow: 0.5em 0.5em 0.5em; z-index: 1}
553+
#container::slot(B) {box-shadow: 0.5em 0.5em 0.5em; margin-left: -2em}
554+
#intro {flow: A}
555+
#supportingText {flow: B}
556+
#linkList {flow: C}
557557
</pre>
558558
</div>
559559

@@ -993,8 +993,9 @@ <h2 id=declaring-templates><span class=secno>2. </span>Declaring templates</h2>
993993
<p>Grid templates are declared with the ‘<a href="#grid-template0"><code
994994
class=property>grid-template</code></a>’, ‘<a href="#grid-rows"><code
995995
class=property>grid-rows</code></a>’, ‘<a href="#grid-columns"><code
996-
class=property>grid-columns</code></a>’ and ‘<a href="#grid"><code
997-
class=property>grid</code></a>’ properties, defined below.
996+
class=property>grid-columns</code></a>’ properties (or the ‘<a
997+
href="#grid"><code class=property>grid</code></a>’ shorthand property),
998+
defined below.
998999

9991000
<p>An element that has a grid template is called a <dfn
10001001
id=grid-element.>grid element.</dfn> More precisely: an element is a grid
@@ -1142,11 +1143,19 @@ <h3 id=grid-template><span class=secno>2.1. </span>Declaring a template:
11421143
<p>Non-rectangular slots and multiple slots with the same letter are
11431144
illegal. A template without any letter or “*” is illegal. A template
11441145
with more than one “*” slot is illegal. Strings with different numbers
1145-
of columns are illegal. These errors cause the declaration to be ignored.
1146+
of columns (<em>before</em> padding with “.”, see below) are illegal.
1147+
These errors cause the declaration to be ignored.
11461148

11471149
<p class=note>Note: non-rectangular and disconnected regions may be
11481150
permitted in a future update of CSS.
11491151

1152+
<p>If there are fewer symbols in a string than the <a
1153+
href="#number-of-columns">number of columns</a> in the element, the string
1154+
is implicitly padded with “.” (period) symbols. Likewise, if there are
1155+
fewer strings than the <a href="#number-of-rows">number of rows</a> in the
1156+
element, additional strings consisting of “.” (period) symbols are
1157+
implicitly added.
1158+
11501159
<p>Each slot (letter or “*”) acts as a block element for its contents.
11511160

11521161
<p>If the value is ‘<code class=css>none</code>’, then no explicit
@@ -1178,6 +1187,14 @@ <h3 id=grid-template><span class=secno>2.1. </span>Declaring a template:
11781187
</pre>
11791188
</div>
11801189

1190+
<p class=note>Authors should be aware that naming slots with Hebrew or
1191+
Arabic letters may cause some text editors to display the CSS rule with
1192+
the first letter of the string on the right. However, the first letter in
1193+
each string corresponds to the first value in ‘<a
1194+
href="#grid-columns"><code class=property>grid-columns</code></a>’ and
1195+
thus represents the leftmost column in the rendering of the document.
1196+
<!--=================================================================-->
1197+
11811198
<h3 id=grid-column-sizes><span class=secno>2.2. </span>Specifying the
11821199
widths of columns: ‘<a href="#grid-columns"><code
11831200
class=property>grid-columns</code></a></h3>
@@ -1256,8 +1273,8 @@ <h3 id=grid-column-sizes><span class=secno>2.2. </span>Specifying the
12561273
accepts certain values.
12571274

12581275
<p>Each <a href="#ltcol-widthgt"><var>&lt;col-width&gt;</var></a> sets the
1259-
width of a column, the first value for the first column, the second for
1260-
the second columns, etc.
1276+
width of a column, the first value for the leftmost column, the second for
1277+
the second column, etc.
12611278

12621279
<p>If there are fewer <a
12631280
href="#ltcol-widthgt"><var>&lt;col-width&gt;</var></a> values than the <a
@@ -1395,6 +1412,10 @@ <h3 id=grid-row-sizes><span class=secno>2.3. </span>Specifying the height
13951412
<p class=note>Note that the syntax is the same syntax as for ‘<a
13961413
href="#grid-columns"><code class=property>grid-columns</code></a>
13971414

1415+
<p>Each <a href="#ltrow-heightgt"><var>&lt;row-height&gt;</var></a> sets
1416+
the height of a row, the first value for the topmost row, the second for
1417+
the second row, etc.
1418+
13981419
<p>If there are fewer <a
13991420
href="#ltrow-heightgt"><var>&lt;row-height&gt;</var></a> values than the
14001421
<a href="#number-of-rows">number of rows</a> in the element, or if the

0 commit comments

Comments
 (0)