@@ -275,7 +275,7 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
275275 <div class="example">
276276 In the following example:
277277
278- <pre>
278+ <pre highlight=css >
279279 <div id=container style="height: 100px; float: left;">
280280 <div id=item style="height: 100%; aspect-ratio: 1/1;">content</div>
281281 </div>
@@ -285,7 +285,7 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
285285 the width of the item resolves to 100px for both its intrinsic size contributions as well as for final layout,
286286 so the container also sizes to a width of 100px.
287287
288- <pre>
288+ <pre highlight=css >
289289 <div id=container style="height: auto; float: left;">
290290 <div id=item style="height: 100%; aspect-ratio: 1/1;">content</div>
291291 </div>
@@ -303,6 +303,21 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
303303 to the width of the word “content”.
304304 </div>
305305
306+ Note: Having a [=preferred aspect ratio=] does not make a box into a [=replaced element=] ;
307+ layout rules specific to [=replaced elements=] generally
308+ do not apply to [=non-replaced=] boxes with a [=preferred aspect ratio=] .
309+ For example, a [=non-replaced=] [=absolutely-positioned=] box
310+ treats ''justify-self: normal'' as ''justify-self/stretch'' , not as ''justify-self/start''
311+ ([[CSS-ALIGN-3#justify-abspos]] ).
312+
313+ ISSUE: CSS2.1 does not cleanly differentiate between
314+ replaced elements vs. elements with an aspect ratio;
315+ need to figure out specific cases that are unclear and define them,
316+ either in the appropriate Level 3 spec or here.
317+
318+ <h4 id='aspect-ratio-cyclic'>
319+ Cyclic Aspect-Ratio Calculations</h4>
320+
306321 On non-replaced elements with an ''width/auto'' <a>inline size</a>
307322 (or any replaced element whose intrinsic <a>block size</a>
308323 depends on its <a>inline size</a> ),
@@ -334,18 +349,6 @@ Intrinsic Aspect Ratios: the 'aspect-ratio' property</h3>
334349 taking into account the ''height/min-content'' minimum.
335350 </div>
336351
337- Note: Having a [=preferred aspect ratio=] does not make a box into a [=replaced element=] ;
338- layout rules specific to [=replaced elements=] generally
339- do not apply to [=non-replaced=] boxes with a [=preferred aspect ratio=] .
340- For example, a [=non-replaced=] [=absolutely-positioned=] box
341- treats ''justify-self: normal'' as ''justify-self/stretch'' , not as ''justify-self/start''
342- ([[CSS-ALIGN-3#justify-abspos]] ).
343-
344- ISSUE: CSS2.1 does not cleanly differentiate between
345- replaced elements vs. elements with an aspect ratio;
346- need to figure out specific cases that are unclear and define them,
347- either in the appropriate Level 3 spec or here.
348-
349352<h4 id="aspect-ratio-minimum">
350353Automatic Content-based Minimum Sizes</h4>
351354
0 commit comments