aspect-ratio-004.html (536B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.csswg.org/css-grid-1/#algo-overview"> 3 <meta name="assert" content="An element with an aspect-ratio and stretch alignment stretches to the definite row, and transfers its size."> 4 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> 5 <p>Test passes if there is a filled green square.</p> 6 <div style="display: inline-grid; grid-template-rows: 100px; background: green;"> 7 <img src="support/50x50-green.png" style="align-self: stretch; opacity: 0;"> 8 </div>