summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/aspect-ratio/block-aspect-ratio-053.html
blob: ce1411e027e00fd92cd990bef9b42883948627cb (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-sizing-4/#aspect-ratio">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:4; column-fill:auto; gap:0; width:100px; height:100px; background:red;">
  <div style="aspect-ratio:1/16; width:fit-content; height:400px; background:green;"></div>
</div>