blob: a8086f2aa0ca784d7c134e522b1c46f3a988af2a [file] [log] [blame]
<!DOCTYPE html>
<style>
#a {
height: 100px;
max-width: 100px;
width: 500px;
background: red;
display: table;
}
</style>
<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('#a')">
<div>This test checks that a table with 'width' exceeding 'max-width' is correctly constrained.</div>
<div id="a" data-expected-width="100"></div>
</body>