@@ -291,12 +291,12 @@ <h3>Summary and examples</h3>
291291“zunflower” design</ a > of the CSS Zen Garden could be done:
292292
293293< pre >
294- #container {grid: "abc "}
295- #container::slot(a ) {box-shadow: 0.5em 0.5em 0.5em; z-index: 1}
296- #container::slot(b ) {box-shadow: 0.5em 0.5em 0.5em; margin-left: -2em}
297- #intro {flow: a }
298- #supportingText {flow: b }
299- #linkList {flow: c }
294+ #container {grid: "ABC "}
295+ #container::slot(A ) {box-shadow: 0.5em 0.5em 0.5em; z-index: 1}
296+ #container::slot(B ) {box-shadow: 0.5em 0.5em 0.5em; margin-left: -2em}
297+ #intro {flow: A }
298+ #supportingText {flow: B }
299+ #linkList {flow: C }
300300</ pre >
301301</ div >
302302
@@ -707,7 +707,8 @@ <h3 id=accessibility>A note about accessibility</h3>
707707< h2 > Declaring templates</ h2 >
708708
709709< p > Grid templates are declared with the 'grid-template', 'grid-rows',
710- 'grid-columns' and 'grid' properties, defined below.
710+ 'grid-columns' properties (or the 'grid' shorthand property), defined
711+ below.
711712
712713< p > An element that has a grid template is called a < dfn > grid
713714element.</ dfn > More precisely: an element is a grid element if (1) it
@@ -834,12 +835,18 @@ <h3 id=grid-template >Declaring a template: 'grid-template'</h3>
834835< p > Non-rectangular slots and multiple slots with the same letter are
835836illegal. A template without any letter or “*” is illegal. A template
836837with more than one “*” slot is illegal. Strings with different numbers
837- of columns are illegal. These errors cause the declaration to be
838- ignored.
838+ of columns ( < em > before </ em > padding with “.”, see below) are
839+ illegal. These errors cause the declaration to be ignored.
839840
840841< p class =note > Note: non-rectangular and disconnected regions may be
841842permitted in a future update of CSS.
842843
844+ < p > If there are fewer symbols in a string than the < span > number of
845+ columns</ span > in the element, the string is implicitly padded with
846+ “.” (period) symbols. Likewise, if there are fewer strings than the
847+ < span > number of rows</ span > in the element, additional strings
848+ consisting of “.” (period) symbols are implicitly added.
849+
843850< p > Each slot (letter or “*”) acts as a block element for its contents.
844851
845852< p > If the value is ''none'', then no explicit slots are defined. If
@@ -867,7 +874,14 @@ <h3 id=grid-template >Declaring a template: 'grid-template'</h3>
867874</ pre >
868875</ div >
869876
877+ < p class =note > Authors should be aware that naming slots with Hebrew or
878+ Arabic letters may cause some text editors to display the CSS rule
879+ with the first letter of the string on the right. However, the first
880+ letter in each string corresponds to the first value in 'grid-columns'
881+ and thus represents the leftmost column in the rendering of the
882+ document.
870883
884+ <!--=================================================================-->
871885
872886< h3 id =grid-column-sizes > Specifying the widths of columns:
873887'grid-columns'</ h3 >
@@ -930,7 +944,7 @@ <h3 id=grid-column-sizes >Specifying the widths of columns:
930944accepts certain values.
931945
932946< p > Each < var > <col-width></ var > sets the width of a column, the
933- first value for the first column, the second for the second columns ,
947+ first value for the leftmost column, the second for the second column ,
934948etc.
935949
936950< p > If there are fewer < var > <col-width></ var > values than
@@ -1045,6 +1059,9 @@ <h3 id=grid-row-sizes >Specifying the height of rows: 'grid-rows'</h3>
10451059< p class =note > Note that the syntax is the same syntax as for
10461060'grid-columns'
10471061
1062+ < p > Each < var > <row-height></ var > sets the height of a row, the
1063+ first value for the topmost row, the second for the second row, etc.
1064+
10481065< p > If there are fewer < var > <row-height></ var > values than
10491066the < span > number of rows</ span > in the element, or if the value is
10501067''auto'', the missing row heights are all ''auto''.
0 commit comments