summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/anonymous-table-no-baseline-align.html
blob: ac1aa25e5a12bd7112f71edb2a1f397a7f362ede (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
<!DOCTYPE html>
<html>
<head>
<style>
.wrapper {
    height: 100px;
    width: 120px;
    display: inline-block;
    background-color: green;
}
.cell {
    display: table-cell;
    vertical-align: middle;
    color: green;
}
</style>
</head>
<body>
    <p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=91137">91137</a>: REGRESSION(r117339): cell in block-level table in inline-block are aligned with their last line box</p>
    <p>This test checks that an anonymous 'table' doesn't contribute its baseline when determining an inline-block baseline.</p>
    <p>The 2 green squares should be aligned below.</p>
    <div class="wrapper">
        <div class="cell">&nbsp;</div>
    </div>
    <div class="wrapper">
        <div class="cell">&nbsp;<br>&nbsp;<br></div>
    </div>
</body>
</html>