You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-images/Overview.src.html
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1148,9 +1148,11 @@ <h4 id="default-sizing">
1148
1148
<li>If the <i>specified size</i> has no constraints:
1149
1149
1150
1150
<ol>
1151
-
<li>If the object has only an <i>intrinsic aspect ratio</i>, the <i>concrete object size</i> must have that aspect ratio, and additionally be as large as possible without either its height or width exceeding the height or width of the <i>default object size</i>. Otherwise, the width and height of the <i>concrete object size</i> is the same as the object's <i>intrinsic width</i> and <i>intrinsic height</i>, if they exist.</li>
1151
+
<li>If the object has an intrinsic height or width, its size is resolved
1152
+
as if its <i>intrinsic size</i> were the <i>specified size</i>.
1152
1153
1153
-
<li>If the <i>concrete object size</i> is still missing a width or height, and the object has an <i>intrinsic aspect ratio</i>, the missing dimension is calculated from the present dimension and the <i>intrinsic aspect ratio</i>. Otherwise, each missing dimension is taken from the <i>default object size</i>.</li>
1154
+
<li>Otherwise, its size is resolved as a <i>contain constraint</i>
0 commit comments