File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
178178
179179 <pre class="propdef">
180180 Name : aspect-ratio
181- Value : auto | <<ratio>>
181+ Value : auto || <<ratio>>
182182 Initial : auto
183183 Inherited : no
184184 Applies to : all elements except <a>inline boxes</a> and internal ruby or table boxes
@@ -216,6 +216,15 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
216216 Size calculations involving <a>preferred aspect ratio</a>
217217 work with the dimensions of the box specified by 'box-sizing' .
218218
219+ <dt> <dfn>auto && <<ratio>></dfn>
220+ <dd>
221+ If both ''auto'' and a <<ratio>> are specified together,
222+ the [=preferred aspect ratio=] is the specified ratio
223+ of ''<var>width</var> / <var>height</var>''
224+ unless it is a [=replaced element=] with an [=intrinsic aspect ratio=] ,
225+ in which case that aspect ratio is used instead.
226+ In all cases, size calculations involving this aspect ratio
227+ work with the [=content box=] dimensions always.
219228 </dl>
220229
221230 Note: If a box has both a 'width' and a 'height'
You can’t perform that action at this time.
0 commit comments