1
0
Fork 0
firefox/testing/web-platform/tests/css/css-sizing/aspect-ratio/quirks-mode-002.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

15 lines
560 B
HTML

<!-- 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, document.body.offsetWidth);
}, "body height equals width");
};
</script>
<body style="aspect-ratio: 1/1;">