| 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 </style> | 9 </style> |
| 10 | 10 |
| 11 </head> | 11 </head> |
| 12 <body> | 12 <body> |
| 13 | 13 |
| 14 <div style="font-size: 2.5rem"> | 14 <div style="font-size: 2.5rem"> |
| 15 This text should all be autosized to 40px computed font-size; the span below
shouldn't affect this. | 15 This text should all be autosized to 40px computed font-size; the span below
shouldn't affect this. |
| 16 <span> | 16 <span> |
| 17 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. | 17 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. |
| 18 </span> | 18 </span> |
| 19 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tem
por incididunt ut labore et dolore magna aliqua. | 19 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tem
por incididunt ut labore et dolore magna aliqua. |
| 20 </div> | 20 </div> |
| 21 | 21 |
| 22 </body> | 22 </body> |
| 23 </html> | 23 </html> |
| OLD | NEW |