blob: e954e0aadeaf6f2d701238b5969ed51bc79b57bd [file] [log] [blame]
<!DOCTYPE html>
<style>
body {
margin: 0;
padding: 0;
}
table {
border: 0;
border-spacing: 0;
display: inline-table;
background-color: black;
height: 40px;
width: 20px;
}
span {
font: 20px Ahem;
line-height: 20px;
}
</style>
<script src="../../resources/check-layout.js"></script>
<span>
Text
<table data-total-y=0>
</table>
Text
<br>
</span>
<p>crbug.com/452593: The baseline of an 'inline-table' is the baseline of the first row of the table.
You should see three black boxes and the middle one should be above the other two.</p>
<p id="test-output"></p>
<script>
checkLayout('table', document.getElementById("test-output"));
</script>