Skip to content

Commit 605801e

Browse files
committed
[css-grid][css-sizing] Define some property-specific functions as functions (not values). #7682
1 parent f2b1f20 commit 605801e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: css-grid-1/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@ Track Sizes</h4>
15551555
When appearing outside a ''minmax()'' notation,
15561556
implies an automatic minimum (i.e. ''minmax(auto, <<flex>>)'').
15571557

1558-
<dt><dfn lt="minmax()">minmax(<var>min</var>, <var>max</var>)</dfn>
1558+
<dt><dfn function lt="minmax()">minmax(<var>min</var>, <var>max</var>)</dfn>
15591559
<dd>
15601560
Defines a size range
15611561
greater than or equal to <var>min</var>
@@ -1601,7 +1601,7 @@ Track Sizes</h4>
16011601
Represents the largest <a>min-content contribution</a>
16021602
of the <a>grid items</a> occupying the <a>grid track</a>.
16031603

1604-
<dt><dfn lt="fit-content()">fit-content( <<length-percentage>> )</dfn>
1604+
<dt><dfn function lt="fit-content()">fit-content( <<length-percentage>> )</dfn>
16051605
<dd>
16061606
Represents the formula
16071607
<code>max(<var>minimum</var>, min(<var>limit</var>, ''max-content''))</code>,

Diff for: css-grid-2/Overview.bs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@ Track Sizes</h4>
16391639
When appearing outside a ''minmax()'' notation,
16401640
implies an automatic minimum (i.e. ''minmax(auto, <<flex>>)'').
16411641

1642-
<dt><dfn lt="minmax()">minmax(<var>min</var>, <var>max</var>)</dfn>
1642+
<dt><dfn function lt="minmax()">minmax(<var>min</var>, <var>max</var>)</dfn>
16431643
<dd>
16441644
Defines a size range
16451645
greater than or equal to <var>min</var>
@@ -1685,7 +1685,7 @@ Track Sizes</h4>
16851685
Represents the largest <a>min-content contribution</a>
16861686
of the <a>grid items</a> occupying the <a>grid track</a>.
16871687

1688-
<dt><dfn lt="fit-content()">fit-content( <<length-percentage>> )</dfn>
1688+
<dt><dfn function lt="fit-content()">fit-content( <<length-percentage>> )</dfn>
16891689
<dd>
16901690
Represents the formula
16911691
<code>max(<var>minimum</var>, min(<var>limit</var>, ''max-content''))</code>,

Diff for: css-sizing-3/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ Sizing Values: the <<length-percentage [0,∞]>>, ''width/auto'' | ''max-width/n
507507
i.e.
508508
<code>min(''width/max-content'', max(''width/min-content'', ''width/stretch''))</code>.
509509
-->
510-
<dt><dfn>fit-content(<<length-percentage [0,∞]>>)</dfn>
510+
<dt><dfn function lt="fit-content()">fit-content(<<length-percentage [0,∞]>>)</dfn>
511511
<dd>
512512
Use the fit-content formula
513513
with the <a>available space</a> replaced by the specified argument,

0 commit comments

Comments
 (0)