@@ -312,9 +312,14 @@ New Keywords for 'width' and 'height'</h3>
312
312
'width' /'height' computes to ''width/auto''
313
313
and when it is defined to behave as ''width/auto''
314
314
(as in the case above),
315
- the property is said to <dfn export lt="behave as auto|behaving as auto">behave as auto</dfn>
315
+ the property is said to <dfn export lt="behave as auto|behaves as auto| behaving as auto">behave as auto</dfn>
316
316
in both of these cases.
317
317
318
+ Note: Legacy spec prose defining layout behavior
319
+ might explicitly refer to 'width' /'height' having a computed value of ''width/auto'' as a condition;
320
+ these should be interpreted as meaning <a>behaves as auto</a> ,
321
+ and reported to the CSSWG for updating.
322
+
318
323
<h3 id='the-contain-floats-value'>
319
324
Containing Floats</h3>
320
325
@@ -470,7 +475,7 @@ Stretch-fit Sizing</h3>
470
475
471
476
Percentages specify sizing of a box with respect to the box’s <a>containing block</a> .
472
477
When calculating the <a>intrinsic size contribution</a> of the box,
473
- intrinsic sizes are instead treated as ''width/auto'' .
478
+ intrinsic sizes instead behave as ''width/auto'' .
474
479
475
480
<div class="example">
476
481
For example, in the following markup:
@@ -484,7 +489,7 @@ Stretch-fit Sizing</h3>
484
489
</pre>
485
490
486
491
When calculating the width of the outer div,
487
- the inner div is treated as ''width: auto'' ,
492
+ the inner div behaves as ''width: auto'' ,
488
493
so the outer div sets itself to the width of the long word.
489
494
Since the outer div's width didn't depend on "real" layout,
490
495
though, it's treated as <a>definite</a>
@@ -493,9 +498,10 @@ Stretch-fit Sizing</h3>
493
498
</div>
494
499
495
500
Although this may require an additional layout pass to re-resolve percentages in some cases,
496
- the ''min-width/auto'' , ''min-width/min-content'' , ''min-width/max-content'' , and ''min-width/fit-content'' values
497
- of 'min-width' and 'min-height'
498
- do not prevent the resolution of percentage sizes of the box’s contents.
501
+ a 'min-width' or 'min-height'
502
+ with a value of ''min-width/min-content'' , ''min-width/max-content'' , ''min-width/fit-content'' ,
503
+ or ''min-width/auto'' (or otherwise <a>behaving as auto</a> )
504
+ does not prevent the resolution of percentage sizes of the box’s contents.
499
505
However, in order to prevent cyclic sizing in the general case,
500
506
percentages do not otherwise resolve against <a>indefinite</a> sizes,
501
507
and instead are treated as <css> auto</css> .
0 commit comments