Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / forum-comments-autosizing.html
blobe990f4389553fe4dfa09905c438eeb254c39f0a0
1 <!DOCTYPE html>
2 <html>
3 <head>
5 <meta name="viewport" content="width=800">
6 <style>
7 html { font-size: 16px; }
8 body { width: 800px; margin: 0; overflow-y: hidden; }
9 </style>
11 <script src="resources/autosizingTest.js"></script>
13 </head>
14 <body>
16 <table cellpadding="0" cellspacing="0" width="100%">
17 <tr>
18 <td>
19 <div>
20 This text should be autosized to 40px because it is similar to the below text.
21 </div>
22 </td>
23 </tr>
24 <tr>
25 <td>
26 <div>
27 This text should be autosized to 40px computed font-size (16 * 800/320).<br>
28 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
29 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
30 laboris ni si ut aliquip ex ea commodo consequat.
31 </div>
32 </td>
33 </tr>
34 <tr>
35 <td>
36 <div>
37 This text should be autosized to 40px because it is similar to above text.
38 </div>
39 </td>
40 </tr>
41 </table>
43 </body>
44 </html>