Skip to content

Commit 6768582

Browse files
committed
[css-sizing-3] Use preferred aspect ratio in place of intrinsic aspect ratio as appropriate. #4962
1 parent 9fb23e1 commit 6768582

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

css-sizing-3/Overview.bs

+8-5
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ Sizing Values: the <<length-percentage>>, ''width/auto'' | ''max-width/none'', '
504504
These keywords have been deferred to Level 4
505505
(along with an additional ''width/contain'' keyword that
506506
behaves similarly to ''width/stretch''
507-
but preserves the intrinsic aspect ratio, if any)
507+
but preserves the [=preferred aspect ratio=], if any)
508508
to better work out the implications in situations with
509509
<a>indefinite</a> <a>available space</a>.
510510

@@ -872,20 +872,20 @@ Intrinsic Sizes</h3>
872872
The [=min-content size=] and [=max-content size=] are collectively referred to
873873
as the <dfn export id=dfn-intrinsic-sizes>intrinsic sizes</dfn>.
874874

875-
Note: Note that when the box has an intrinsic aspect ratio,
875+
Note: Note that when the box has a [=preferred aspect ratio=],
876876
size constraints in the opposite dimension will transfer through
877877
and can affect the ''width/auto'' size in the considered one.
878878
See <a href="https://www.w3.org/TR/CSS2/visudet.html">CSS2&sect;10</a>.
879879

880880
If the <a>max-content size</a> would depend
881881
on the size of the containing block
882-
(as it sometimes does for images with an intrinsic aspect ratio but no intrinsic size,
882+
(as it sometimes does for images with an [=intrinsic aspect ratio=] but no [=intrinsic dimensions|intrinsic size=],
883883
see <a href="https://www.w3.org/TR/CSS2/visudet.html#inline-replaced-width">CSS2&sect;10.3.2</a>)
884884
such that it can't be calculated against an infinitely-sized containing block
885885
then:
886886

887887
<dl>
888-
<dt>For boxes with an intrinsic aspect ratio, but no intrinsic size:
888+
<dt>For boxes with a [=preferred aspect ratio=], but no [=intrinsic dimensions|intrinsic size=]:
889889
<dd>
890890
* If the <a>available space</a> is <a>definite</a>
891891
in the <a>inline axis</a>,
@@ -908,7 +908,7 @@ Intrinsic Sizes</h3>
908908
the corresponding dimension of the [=initial containing block=]
909909
and calculate the other dimension using the aspect ratio.
910910

911-
<dt>For boxes without an intrinsic aspect ratio:
911+
<dt>For boxes without a [=preferred aspect ratio=]:
912912
<dd>
913913
* If the <a>available space</a> is <a>definite</a>
914914
in the appropriate dimension,
@@ -1310,6 +1310,9 @@ Changes</h2>
13101310
to use the ICB size instead of 300px&times;150px.
13111311
(<a href="https://github.com/w3c/csswg-drafts/issues/4218">Issue 4218</a>)
13121312

1313+
<li>
1314+
Defined [=preferred aspect ratio=] and used it in place of [=intrinsic aspect ratio=] where appropriate.
1315+
13131316
<li>
13141317
Miscellaneous minor / editorial fixes.
13151318
</ul>

0 commit comments

Comments
 (0)