blob: f532308484383dbbe086f7af9d90d0579b83608a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#row-layout">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<style>
.table { display:table; height:100px; background:pink; }
.cell { overflow:auto; width:100px; height:100%; background:blue; }
</style>
<p>There should be a 100px tall pink block below, with a scrollable box inside.</p>
<div id="container" class="table" data-expected-height="100">
<div class="cell" data-expected-height="100" data-expected-scroll-height="500">
<div style="width:100px; height:500px;"></div>
</div>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<script>
checkLayout("#container");
</script>
|