Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / unwrappable-inlines-expected.html
bloba7188141d901288ab498bb56042a12c4d62249c7
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 pre { margin: 0; }
10 </style>
12 </head>
13 <body>
15 <div>
16 <span style="white-space: pre; font-size: 2.5rem">
17 This text is expected be autosized to 40px computed font-size (16 * 800/320), since Text Autosizing is not yet smart enough to detect that all the children of this div are unwrappable. Ideally it would not get autosized.
18 </span>
19 </div>
21 <div>
22 <span style="white-space: nowrap; font-size: 2.5rem">
23 This text is expected be autosized to 40px computed font-size (16 * 800/320), since Text Autosizing is not yet smart enough to detect that all the children of this div are unwrappable. Ideally it would not get autosized.
24 </span>
25 </div>
27 <div>
28 <span style="white-space: pre-wrap; font-size: 2.5rem">
29 This text should be autosized to 40px computed font-size (16 * 800/320) since it has white-space:pre-wrap which allows text wrapping (even though it doesn't collapse white space).
30 </span>
31 </div>
33 <div>
34 <span style="font-size: 2.5rem">
35 This text should be autosized to 40px computed font-size (16 * 800/320).
36 </span>
37 </div>
39 </body>
40 </html>