blob: 8f857a37adebdf73f7c21553ce155895dd244306 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!-- quirks mode -->
<title>Aspect ratio and quirks mode</title>
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">
<link rel="author" title="Google LLC" href="https://www.google.com/">
<meta name="flags" content="dom" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
onload = function() {
test(function() {
assert_equals(document.body.offsetHeight, 100);
}, "body height is 100");
};
</script>
<body style="width: 100px; aspect-ratio: 1/1; min-height: 0;">
|