Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS aspect-ratio: audio element</title>
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<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>