summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-035.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-035.html')
-rw-r--r--testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-035.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-035.html b/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-035.html
new file mode 100644
index 0000000000..88ae2c22dc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-sizing/aspect-ratio/replaced-element-035.html
@@ -0,0 +1,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>