| <!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> |