summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-035.html
blob: 88ae2c22dc6546087d15c5f0bf5d16f02da7a37f (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<title>CSS aspect-ratio: audio element</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://html.spec.whatwg.org/multipage/media.html#the-audio-element">
<link rel="match" href="replaced-element-035-ref.html">

<audio controls style="aspect-ratio: 1/1; background: green;"></audio><br>
<audio controls style="aspect-ratio: 1/1; width: 100px; background: green;"></audio><br>
<audio controls style="aspect-ratio: 1/1; height: 100px; background: green;"></audio>