Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / narrow-child.html
bloba443ea16535706d47ebeb3ea029229b5be844389
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 <div>
17 This text should be autosized to 40px computed font-size, since although this has a narrow child block, the cluster will still be wide and need autosizing.
18 <div style="width: 600px">
19 This text should be autosized to 40px computed font-size as it is a part of the same cluster as the parent div.<br>
20 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
21 </div>
22 This text should be autosized to 40px computed font-size, similarly to the text at the top.<br>
23 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
24 </div>
26 </body>
27 </html>