Skip to content

Commit 1c2e837

Browse files
committed
[css-grid] Clarify resetting behavior of 'grid' shorthand. #1036
1 parent 8744347 commit 1c2e837

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

css-grid/Overview.bs

+5-3
Original file line numberDiff line numberDiff line change
@@ -2306,9 +2306,11 @@ Grid Definition Shorthand: the 'grid' property</h3>
23062306
and the gutter properties
23072307
('grid-column-gap' and 'grid-row-gap')
23082308
in a single declaration.
2309-
2310-
This shorthand has one new syntax form,
2311-
beyond what 'grid-template' defines:
2309+
The gutter properties are <a>reset-only sub-properties</a>;
2310+
the other sub-properties can be set through either
2311+
one of the 'grid-template' syntaxes
2312+
or an additional syntax form
2313+
for defining auto-flow grids:
23122314

23132315
<dl dfn-for=grid dfn-type=value>
23142316
<dt><dfn id='grid-s-auto-row'><<'grid-template-rows'>> / [ auto-flow && dense? ] <<'grid-auto-columns'>>?</dfn>

css-grid/issues-cr-2016.bsi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Draft: https://www.w3.org/TR/2016/CR-css-grid-1-20160929/
22
Title: CSS Grid Layout Level 1
3-
Agenda: https://lists.w3.org/Archives/Public/www-style/2017Feb/0001.html
3+
44
----
55
Issue 1.
66
Summary: Max should override min in minmax()

css-grid/issues-cr-201704.bsi

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Draft: https://www.w3.org/TR/2017/CR-css-grid-1-201704??/
2+
Title: CSS Grid Layout Level 1
3+
----
4+
Issue 1.
5+
Summary: Increase limit of rows/cols to make a px-grid for masonry layout
6+
From: hunboy
7+
Comment: https://github.com/w3c/csswg-drafts/issues/1009
8+
Response: https://github.com/w3c/csswg-drafts/issues/1009#issuecomment-277862628
9+
Open: Rejected
10+
Resolved: =WG= Discuss.
11+
----
12+
Issue 2.
13+
Summary: Clarify resetting behavior of 'grid' template wrt gutters
14+
From: huijing
15+
Comment: https://github.com/w3c/csswg-drafts/issues/1036
16+
Response: https://github.com/w3c/csswg-drafts/issues/1036#issuecomment-279699823
17+
Comment: https://github.com/w3c/csswg-drafts/issues/1036#issuecomment-279905265
18+
Response:
19+
Closed: Accepted
20+
Resolved: Editorial
21+
----

0 commit comments

Comments
 (0)