Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / table / table-with-content-width-exceeding-max-width.html
1 <!DOCTYPE html>
2 <style>
3 #a {
4   height: 100px; 
5   max-width: 100px;
6   width: 50px;
7   background: red;
8   display: table;
9   font: 10px/1 Ahem;
10 }
11 </style>
12 <script src="../../resources/check-layout.js"></script>
13 <body onload="checkLayout('#a')">
14     <div>This test checks that a table with 'width' and content wider than 'max-width' is not constrained.</div>
15     <div id="a" data-expected-width="200">XXXXXXXXXXXXXXXXXXXX</div>
16 </body>