Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / nested-child-expected.html
blob929d54ddec951b7cee9bca35eea850aaaf61255d
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta name="viewport" content="width=800">
5 <style>
6 html { font-size: 16px; }
7 body { width: 800px; margin: 0; overflow-y: hidden; }
8 </style>
9 </head>
10 <body>
11 <div style="font-size: 2.5rem">
12 <div style="width: 600px">
13 This text should be autosized to 40px computed font-size as it is a part of the same cluster as the parent div.<br>
14 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
15 </div>
16 <div style="width: 320px; font-size: 1rem">
17 This text is not autosized since it's too narrow and is considered to be a separate autosizing cluster.
18 </div>
19 </div>
20 </body>
21 </html>