Skip to content

Commit f81fcda

Browse files
committed
[css-grid-1][css-grid-2] Clarify that <'grid-template'> serialization is preferred if 'grid' is ambiguous. w3c#7805
1 parent b5c823d commit f81fcda

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

css-grid-1/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2665,6 +2665,11 @@ Grid Definition Shorthand: the 'grid' property</h3>
26652665
</pre>
26662666
</div>
26672667

2668+
When serializing,
2669+
if all the 'grid-auto-*' longhands have their initial values,
2670+
the 'grid-template' syntax is used.
2671+
2672+
26682673
<!--
26692674
████████ ██ ███ ██████ ████ ██ ██ ██████
26702675
██ ██ ██ ██ ██ ██ ██ ██ ███ ██ ██ ██

css-grid-2/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2820,6 +2820,11 @@ Grid Definition Shorthand: the 'grid' property</h3>
28202820
</pre>
28212821
</div>
28222822

2823+
When serializing,
2824+
if all the 'grid-auto-*' longhands have their initial values,
2825+
the 'grid-template' syntax is used.
2826+
2827+
28232828
<!--
28242829
████████ ██ ███ ██████ ████ ██ ██ ██████
28252830
██ ██ ██ ██ ██ ██ ██ ██ ███ ██ ██ ██

0 commit comments

Comments
 (0)