summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/aspect-ratio/zero-or-infinity-010.html
blob: 92b4750157defc2ac43c22fe47ba768b871d5672 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<title>CSS aspect-ratio: 0/0 aspect-ratio img</title>
<link rel="author" title="mozilla" href="https://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/4572">
<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>

<img src="support/1x1-green.png" style="width: 100px; aspect-ratio: 0/0;">