summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/aspect-ratio/block-aspect-ratio-055.html
blob: 19af2a39ab35076ca6a55c72aa49f78200931f60 (plain)
1
2
3
4
5
6
7
8
9
10
<!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="width:100px; height:100px; background:red;">
  <div style="columns:4; gap:0;">
    <div style="aspect-ratio:1/16; width:25px; background:green;"></div>
  </div>
</div>