summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/aspect-ratio/fractional-aspect-ratio.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-sizing/aspect-ratio/fractional-aspect-ratio.html')
-rw-r--r--testing/web-platform/tests/css/css-sizing/aspect-ratio/fractional-aspect-ratio.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-sizing/aspect-ratio/fractional-aspect-ratio.html b/testing/web-platform/tests/css/css-sizing/aspect-ratio/fractional-aspect-ratio.html
new file mode 100644
index 0000000000..7186f35f8a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-sizing/aspect-ratio/fractional-aspect-ratio.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/resources/check-layout-th.js"></script>
+<body onload="checkLayout('div')">
+ <div style="width: 100px; aspect-ratio: 0.00025 / 0.0001;" data-expected-height=40></div>
+ <div style="width: 320px; aspect-ratio: 1.6;" data-expected-height=200></div>
+</body>