summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/aspect-ratio/abspos-021.html
blob: c44b29c4b3b08e778503dc8c0e4dd4f8271e2a16 (plain)
1
2
3
4
5
6
7
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1233150">
<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="position: relative; width: 200px;">
  <div style="position: absolute; inset: 0; max-height: 100px; aspect-ratio: 1/1; background: green;"></div>
</div>