Skip to content

Commit 7819d61

Browse files
committed
[css-sizing-3][css-align-3] Clarify computed as vs. behaves as auto. w3c#4525
1 parent 3a476dc commit 7819d61

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

css-align-3/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,9 @@ Inline-Axis (or Main-Axis) Alignment: the 'justify-self' property</h3>
12831283

12841284
: <dfn>stretch</dfn>
12851285
::
1286-
When the box’s computed 'width'/'height' (as appropriate to the axis) is ''width/auto''
1286+
When the box’s [=computed value|computed=] 'width'/'height'
1287+
(as appropriate to the axis)
1288+
is ''width/auto''
12871289
and neither of its margins (in the appropriate axis) are ''margin/auto'',
12881290
sets the box’s used size to the length necessary to make its outer size
12891291
as close to filling the <a>alignment container</a> as possible

css-sizing-3/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,9 @@ Sizing Values: the <<length-percentage>>, ''width/auto'' | ''max-width/none'', '
518518
the property is said to <dfn export lt="behave as auto|behaves as auto|behaving as auto">behave as auto</dfn>
519519
in both of these cases.
520520

521-
Note: Legacy spec prose defining layout behavior
521+
Note: Legacy spec prose defining layout behavior, particularly in [[CSS2]],
522522
might explicitly refer to 'width'/'height' having a computed value of ''width/auto'' as a condition;
523-
these should be interpreted as meaning <a>behaves as auto</a>,
523+
some of these cases should be interpreted as meaning <a>behaves as auto</a>,
524524
and reported to the CSSWG for updating.
525525

526526
ISSUE: Replace this section with references to the new term <a>automatic size</a>.

0 commit comments

Comments
 (0)