summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html
blob: 0f6dafe908ed037e7529e5d5ca6001bfe87ac21e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!doctype html>
<style>
#parent {
    height: 100px;
    width: 100px;
}

#child {
    height: 100%;
    width: 100%;
    background: red;
}
</style>

There should be no red square below.
<table id="parent">
    <tr>
        <td>
            <div id="child" data-expected-height="0"></div>
        </td>
    </tr>
</table>

<script src="../../resources/check-layout.js"></script>
<script>
checkLayout('#parent');
</script>