summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-layout-api/constraints/support/constraints-fixed-block-size-quirky-body-iframe.html
blob: da770e6caf1da462983fc6741b58c4084a8da438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<style>
body {
  margin: 0;
  --expected-block-size: 200;
}

.child {
  background: green;
}

@supports (display: layout(test)) {
  body {
    display: layout(test);
  }
}
</style>

<!-- In Quirks mode, we should stretch to 100% of the inital containing block. -->
<body>
<div class="child"></div>
</body>