blob: b59040d34c12236b366cc5f572b1ca396b37ae07 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<style>
table {
border: 25px solid green;
border-top: 10px solid cyan;
position: absolute;
box-sizing: border-box;
outline: 5px solid blue;
}
div {
background-color: yellow;
height: 50px;
width: 50px;
}
</style>
<script src="../../resources/check-layout.js"></script>
<script>
window.onload = function () {
checkLayout(".table");
}
</script>
<table class="table" data-expected-height="91px">
<tbody>
<tr>
<td>
<div></div>
</td>
</tr>
</tbody>
</table>
<table style="top: 200px;" class="table" data-expected-height="91px">
<tbody>
<tr>
<td>
<div></div>
</td>
</tr>
</tbody>
</table>
<table style="bottom: 100px;" class="table" data-expected-height="91px">
<tbody>
<tr>
<td>
<div></div>
</td>
</tr>
</tbody>
</table>
</body>
</html>