Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / unwrappable-inlines.html
blob6fc25d0c14437a74ecb2a2a694bb6617c60c7fc0
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 <script src="resources/autosizingTest.js"></script>
14 </head>
15 <body>
17 <div>
18 <span style="white-space: pre">
19 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.
20 </span>
21 </div>
23 <div>
24 <span style="white-space: nowrap">
25 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.
26 </span>
27 </div>
29 <div>
30 <span style="white-space: pre-wrap">
31 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).
32 </span>
33 </div>
35 <div>
36 <span>
37 This text should be autosized to 40px computed font-size (16 * 800/320).
38 </span>
39 </div>
41 </body>
42 </html>