Skip to content

Commit cba3ac0

Browse files
committed
[css-sizing] Define case of images with intrinsic aspect ratio but no size whose containing block depends on their size (undefined in CSS2.1). Fixes #951.
1 parent c41cecd commit cba3ac0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-sizing-3/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,9 @@ Intrinsic Sizes</h3>
395395
use the <a>stretch fit</a> into that size for the inline size
396396
and calculate the block size using the aspect ratio.
397397
* Otherwise
398-
use a width of <span class="issue">UNDEFINED</span>
399-
and calculate the height using the aspect ratio.
398+
use a width of ''300px''
399+
(height of ''150px'' in <a>vertical writing modes</a>)
400+
and calculate the other dimension using the aspect ratio.
400401
<dt>For boxes without an intrinsic aspect ratio:
401402
<dd>
402403
* If the <a>available space</a> is <a>definite</a>

0 commit comments

Comments
 (0)