4 <meta name=
"viewport" content=
"width=800">
6 html { font-size:
16px; }
7 body { width:
400px; margin:
0; overflow-y: hidden; }
8 table { border-spacing:
0; }
10 .inner { width:
400px; }
11 .yellow { background-color: yellow; }
13 <script src=
"resources/autosizingTest.js"></script>
18 <table class=
"inner"><tr><td>
19 This test passes if the yellow highlight fully covers the long text
20 without spaces in the cell below. This ensures the inner table is
21 inflated before the preferred width calculation occurs.
25 <table class=
"inner"><tr><td class=
"yellow">
26 lots_of_text_without_spaces_lots_of_text_without_spaces_lots_of_text_without_spaces_lots_of_text