blob: ac1aa25e5a12bd7112f71edb2a1f397a7f362ede [file] [log] [blame]
<!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>