summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/replaced-fractional-height-from-aspect-ratio-2.html
blob: cc04b44c26f957602641ca4bc963bc46090dc806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1239395">
<meta name="assert" content="The height of a replaced element can depend on the default natural width 300." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>

<div id=log></div>
<!-- 915977 = 299013.12 * (919 / 300) -->
<canvas height="919" style="width:299013.12px" data-expected-height="915977"></canvas>

<script>
checkLayout('canvas');
</script>