Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / cluster-with-narrow-lca.html
blob88cb6cc07c8137c9b3bef01881e98161a04d54eb
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; overflow-y: hidden; }
9 </style>
11 <script src="resources/autosizingTest.js"></script>
13 </head>
14 <body>
16 <div style="width: 400px">
17 <div>
18 This text should be autosized to just 20px computed font size (16 * 400/320), since the width of the least common ancestor of the cluster's text descendants is used for multiplier calculation.
19 </div>
21 <div>
22 This text should be similarly autosized to 20px.
23 </div>
24 </div>
25 </body>
26 </html>