replaced-alignment-with-aspect-ratio-008.html (601B)
1 <!DOCTYPE html> 2 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 3 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5713"> 4 <meta name="assert" content="Stretch alignment in one axis should apply aspect-ratio in the other"> 5 6 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 7 8 <div style="display: grid; grid-template: 100px / 100px; width: 100px; height: 100px; background: red;"> 9 <img src="support/50x50-green.png" width=50 height=50 style="background: green; justify-self: stretch; width: auto; height: auto;"></img> 10 </div>