Skip to content

Commit 831051a

Browse files
committed
[css-images-3] Carry over the degenerate ratio handling to images w3c#4572
1 parent a426128 commit 831051a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-images-3/Overview.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,10 @@ Object-Sizing Terminology {#sizing-terms}
11761176
can have an <a>intrinsic width</a> and an <a>intrinsic height</a>,
11771177
but no <a>intrinsic aspect ratio</a>.
11781178

1179+
If an [=object=] has a [=degenerate ratio|degenerate=] [=intrinsic aspect ratio=]
1180+
(at least one part being zero or infinity),
1181+
it is treated as having no [=intrinsic aspect ratio=].
1182+
11791183
If an [=object=] (such as an icon) has multiple sizes,
11801184
then the largest size (by area) is taken as its intrinsic size.
11811185
If it has multiple aspect ratios at that size,

0 commit comments

Comments
 (0)