7 background-color: orange;
15 display: inline-table;
16 outline:
5px solid salmon;
20 <!-- The inner div should fill the container. It doesn't right now because we artificially limit the table's maxPreferredLogicalWidth to 1000000.
21 See the related FIXME in TableLayoutAlgorithm.h.
23 <div class=
"container">
24 <div style=
"display:inline-block; border: 5px solid salmon;" data-expected-width=
2000000>
25 <table style=
"width:100%; background-color:green; table-layout:fixed"><tr><td>Content
</td></tr></table>
29 <div class=
"container">
30 <!-- The 1 px extra is from the align=right td. -->
31 <table data-expected-width=
20000>
34 <div class=
"child" style=
"width: 10000px"></div><div class=
"child" style=
"width: 10000px"></div>
39 <div class=
"container">
40 <!-- The 1 px extra is from the align=right td. -->
41 <table data-expected-width=
1000000>
44 <div class=
"child" style=
"width: 500000px"></div><div class=
"child" style=
"width: 500000px"></div>
49 <div class=
"container">
50 <!-- The 1 px extra is from the align=right td. -->
51 <table data-expected-width=
1500000>
54 <div class=
"child" style=
"width: 500000px"></div><div class=
"child" style=
"width: 500000px"></div><div class=
"child" style=
"width: 500000px"></div>
59 <script src=
"../../resources/check-layout.js"></script>
61 checkLayout('.container');