summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/empty-cell-baseline.html
blob: 77d3022ce98e21ed79fafe40426560eb5674bbd7 (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
28
29
30
31
32
33
<!DOCTYPE html>
<style type="text/css">
body {
    margin: 0px;
    padding: 0px;
    font: 10px Ahem;
}
#table
{
    display: inline-table;
}
#row
{
    display: table-row;
}
#cell
{
    display: table-cell;
    height: 50px;
    width: 50px;
    background-color:red;
}
</style>
<script src="../../resources/check-layout.js"></script>
<div id="table" data-total-y=8>
    <div id="row">
        <div id="cell"></div>
    </div>
</div>
<div>crbug.com/513319: Empty cells with a computed height but no content use their bottom content edge as a baseline. </div>
<script>
checkLayout('#table')
</script>