Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / nested-table-long-word-2-expected.html
blobef955852b954c5d4d658a3d552946a57c8b716d0
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta name="viewport" content="width=800">
5 <style>
6 html { font-size: 16px; }
7 body { width: 400px; margin: 0; overflow-y: hidden; }
8 table { border-spacing: 0; }
9 td { padding: 0; }
10 .yellow { background-color: yellow; }
11 </style>
12 </head>
13 <body>
14 <table style="width: 700px">
15 <tr><td>
16 <table><tr>
17 <td style="font-size: 2.1875rem">
18 This test passes if the yellow highlight fully covers the long text
19 without spaces in the cell below. This ensures the inner table is
20 inflated before the preferred width calculation occurs.
21 </td>
22 </tr></table>
23 </td></tr>
24 <tr><td>
25 <table class="yellow"><tr>
26 <td><div style="font-size: 2.1875rem">
27 text...text...text...text...text...text...text...text...text...end!
28 </div></td>
29 </tr></table>
30 </td></tr>
31 </table>
32 </body>
33 </html>