Skip to content

Commit 340ab9a

Browse files
committed
[css-sizing-3] Define intrinsic sizes of fit-content(). w3c#3731
1 parent f94d432 commit 340ab9a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-sizing-3/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,11 @@ Sizing Values: the <<length-percentage>>, ''width/auto'' | ''max-width/none'', '
458458
i.e.
459459
<code>min(''width/max-content'', max(''width/min-content'', <<length-percentage>>))</code>;
460460
otherwise behaves as the property’s <a>initial value</a>.
461+
For <a>intrinsic size contributions</a>,
462+
''fit-content(<<length>>)'' behaves as the resulting length;
463+
''width/fit-content()'' containing a <<percentage>> behaves
464+
as ''width/min-content'' for <a>min-content contributions</a>,
465+
and as ''width/max-content'' for <a>max-content contributions</a>.
461466

462467
Negative values are invalid.
463468
</dl>

0 commit comments

Comments
 (0)