Skip to content

Commit 63a1d65

Browse files
committed
[css-grid] Define computed value of grid-template-columns/rows better. #3154
1 parent 972630d commit 63a1d65

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

css-grid-1/Overview.bs

+28-1
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
13681368
Applies to: <a>grid containers</a>
13691369
Inherited: no
13701370
Percentages: refer to corresponding dimension of the content area
1371-
Computed value: the keyword ''grid-template-columns/none'' or a list, alternating each item as either a (potentially empty) list of identifiers or a ''minmax()'' or ''repeat()'' notation, representing each <<track-size>> as a ''minmax()'' notation with each <<length-percentage>> computed
1371+
Computed value: the keyword ''grid-template-columns/none'' or a [=computed track list=]
13721372
Animation type: by computed value type
13731373
</pre>
13741374

@@ -1787,6 +1787,33 @@ Flexible Lengths: the ''fr'' unit</h4>
17871787
(nor are they compatible with <<length>>s, like some <<percentage>> values),
17881788
so they cannot be represented in or combined with other unit types in ''calc()'' expressions.
17891789

1790+
<!--
1791+
██████ ███████ ██ ██ ████████ ██ ██ ████████ ████████ ████████
1792+
██ ██ ██ ██ ███ ███ ██ ██ ██ ██ ██ ██ ██ ██
1793+
██ ██ ██ ████ ████ ██ ██ ██ ██ ██ ██ ██ ██
1794+
██ ██ ██ ██ ███ ██ ████████ ██ ██ ██ ██████ ██ ██
1795+
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
1796+
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
1797+
██████ ███████ ██ ██ ██ ███████ ██ ████████ ████████
1798+
-->
1799+
1800+
<h4 id='computed-track-list'>
1801+
Computed Values</h4>
1802+
1803+
A <dfn>computed track list</dfn> is a [=list=]
1804+
alternating between [=line name sets=] and [=track sections=],
1805+
with the first and last items being [=line name sets=].
1806+
1807+
A <dfn>line name set</dfn> is a (potentially empty) [=set=] of identifiers representing line names.
1808+
1809+
A <dfn>track section</dfn> is either:
1810+
1811+
* a ''minmax()'' functional notation representing a single track's size,
1812+
with each <<length-percentage>> computed
1813+
* a ''repeat()'' functional notation representing a repeated track list section,
1814+
with its <<integer>> computed
1815+
and its <<track-list>> represented as a [=computed track list=]
1816+
17901817
<!--
17911818
████████ ████████ ██████ ███████ ██ ██ ██ ████████ ████████
17921819
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██

0 commit comments

Comments
 (0)