| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 | 4 |
| 5 <meta name="viewport" content="width=800"> | 5 <meta name="viewport" content="width=800"> |
| 6 <style> | 6 <style> |
| 7 html { font-size: 16px; } | 7 html { font-size: 16px; } |
| 8 body { width: 800px; margin: 0; } | 8 body { width: 800px; margin: 0; overflow-y: hidden; } |
| 9 pre { margin: 0; } | 9 pre { margin: 0; } |
| 10 </style> | 10 </style> |
| 11 | 11 |
| 12 </head> | 12 </head> |
| 13 <body> | 13 <body> |
| 14 | 14 |
| 15 <div> | 15 <div> |
| 16 <span style="white-space: pre; font-size: 2.5rem"> | 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. | 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> | 18 </span> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 31 </div> | 31 </div> |
| 32 | 32 |
| 33 <div> | 33 <div> |
| 34 <span style="font-size: 2.5rem"> | 34 <span style="font-size: 2.5rem"> |
| 35 This text should be autosized to 40px computed font-size (16 * 800/320). | 35 This text should be autosized to 40px computed font-size (16 * 800/320). |
| 36 </span> | 36 </span> |
| 37 </div> | 37 </div> |
| 38 | 38 |
| 39 </body> | 39 </body> |
| 40 </html> | 40 </html> |
| OLD | NEW |