Skip to content

Commit b5c823d

Browse files
committed
[css-grid-1][css-grid-2] Slight editorial tweak to make the 'grid' options clearer.
1 parent 3b01922 commit b5c823d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

css-grid-1/Overview.bs

+8
Original file line numberDiff line numberDiff line change
@@ -2353,6 +2353,8 @@ The Implicit Grid</h3>
23532353
together with the <a>explicit grid properties</a>
23542354
in a single declaration.
23552355

2356+
2357+
23562358
<!--
23572359
███ ██ ██ ████████ ███████ ████████ ████████ ███ ██████ ██ ██ ██████
23582360
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
@@ -2611,11 +2613,17 @@ Grid Definition Shorthand: the 'grid' property</h3>
26112613
('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'),
26122614
in a single declaration.
26132615
(It does not reset the <a>gutter</a> properties.)
2616+
26142617
Its syntax matches 'grid-template',
26152618
plus an additional syntax form
26162619
for defining auto-flow grids:
26172620

26182621
<dl dfn-for=grid dfn-type=value>
2622+
<dt><<'grid-template'>>
2623+
<dd>
2624+
Sets the 'grid-template' longhands as as for 'grid-template',
2625+
and the 'grid-auto-*' longhands to their initial values.
2626+
26192627
<dt><dfn id='grid-s-auto-row'><<'grid-template-rows'>> / [ auto-flow && dense? ] <<'grid-auto-columns'>>?</dfn>
26202628
<dt><dfn id='grid-s-auto-column'>[ auto-flow && dense? ] <<'grid-auto-rows'>>? / <<'grid-template-columns'>></dfn>
26212629
<dd>

css-grid-2/Overview.bs

+8
Original file line numberDiff line numberDiff line change
@@ -2508,6 +2508,8 @@ The Implicit Grid</h3>
25082508
together with the <a>explicit grid properties</a>
25092509
in a single declaration.
25102510

2511+
2512+
25112513
<!--
25122514
███ ██ ██ ████████ ███████ ████████ ████████ ███ ██████ ██ ██ ██████
25132515
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
@@ -2766,11 +2768,17 @@ Grid Definition Shorthand: the 'grid' property</h3>
27662768
('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'),
27672769
in a single declaration.
27682770
(It does not reset the <a>gutter</a> properties.)
2771+
27692772
Its syntax matches 'grid-template',
27702773
plus an additional syntax form
27712774
for defining auto-flow grids:
27722775

27732776
<dl dfn-for=grid dfn-type=value>
2777+
<dt><<'grid-template'>>
2778+
<dd>
2779+
Sets the 'grid-template' longhands as as for 'grid-template',
2780+
and the 'grid-auto-*' longhands to their initial values.
2781+
27742782
<dt><dfn id='grid-s-auto-row'><<'grid-template-rows'>> / [ auto-flow && dense? ] <<'grid-auto-columns'>>?</dfn>
27752783
<dt><dfn id='grid-s-auto-column'>[ auto-flow && dense? ] <<'grid-auto-rows'>>? / <<'grid-template-columns'>></dfn>
27762784
<dd>

0 commit comments

Comments
 (0)