Skip to content

Commit 6eb6faa

Browse files
committed
[css-sizing-4] Per #6308, only use the last remembered size when the element is skipping its contents, so you don't have the chance of a phantom size.
1 parent fde849c commit 6eb6faa

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

css-sizing-4/Overview.bs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ spec:css2; type: property
2525
text: max-width
2626
text: max-height
2727
spec:css-align-3; type:value; text:stretch
28+
spec:css-logical-1; type:property; text:block-size
2829
</pre>
2930

3031

@@ -551,10 +552,14 @@ Overriding Contained Intrinsic Sizes: the 'contain-intrinsic-*' properties</h3>
551552
:: The corresponding axis has an [=explicit intrinsic inner size=] of the specified <<length>>.
552553

553554
: <dfn>auto <<length>></dfn>
554-
:: The corresponding axis has an [=explicit intrinsic inner size=]
555-
of its [=last remembered size=].
556-
If a [=last remembered size=] does not exist,
557-
instead use the specified <<length>>.
555+
:: If the element has a [=last remembered size=],
556+
and is currently [=skipping its contents=],
557+
its [=explicit intrinsic inner size=]
558+
is the [=last remembered size=].
559+
560+
Otherwise,
561+
its [=explicit intrinsic inner size=]
562+
is the specified <<length>>.
558563
</dl>
559564

560565
If an element has an [=explicit intrinsic inner size=] in an axis,

0 commit comments

Comments
 (0)