blob: 0c0504e7460fcdded2a6d192d69584a9b4c9dc1a [file] [log] [blame]
<!DOCTYPE html>
<style>
#a {
height: 100px;
max-width: 100px;
width: 50px;
background: red;
display: table;
font: 10px/1 Ahem;
}
</style>
<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('#a')">
<div>This test checks that a table with 'width' and content wider than 'max-width' is not constrained.</div>
<div id="a" data-expected-width="200">XXXXXXXXXXXXXXXXXXXX</div>
</body>