Skip to content

Commit 74ccde2

Browse files
committed
[css-sizing-4] Specify that a-r can change a replaced element with a single intrinsic dimension into a full suite of 3. #5306
1 parent 6622d44 commit 74ccde2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

css-sizing-4/Overview.bs

+8
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
216216
at least one of these sizes must be ''width/auto'' (/''flex-basis/content'')
217217
for the <a>preferred aspect ratio</a> to have an impact on sizing.
218218

219+
If a replaced element's only [=intrinsic dimension=]
220+
is an intrinsic width or an intrinsic height,
221+
giving it a [=preferred aspect ratio=]
222+
also gives it an intrinsic height or width,
223+
whichever was missing,
224+
by transferring the existing size
225+
through the [=preferred aspect ratio=].
226+
219227
Additionally, sizing constraints in either axis
220228
(the <var>origin</var> axis)
221229
are transferred through the [=preferred aspect ratio=]

0 commit comments

Comments
 (0)