5 <meta name=
"viewport" content=
"width=800">
7 html { font-size:
16px; }
8 body { width:
800px; margin:
0; overflow-y: hidden; }
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.
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.
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).
34 <span style=
"font-size: 2.5rem">
35 This text should be autosized to
40px computed font-size (
16 *
800/
320).