Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / second-pass-no-wrap-container-autosizing.html
blob317cb381f8c829239fb3f8bafd1890268d518391
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">
17 <tr><td style="white-space:nowrap">
18 This text should not be autosized because this text does not wrap. Non-wrapped text is likely to break layout if autosized.
19 </td></tr>
20 <tr><td>
21 This text should be autosized to 40px computed font-size (16 * 800/320).<br>
22 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
23 labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
24 laboris ni si ut aliquip ex ea commodo consequat.
25 </td></tr>
26 </table>
28 </body>
29 </html>