| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html style="font-size: 16px"> | 2 <html style="font-size: 16px"> |
| 3 <head> | 3 <head> |
| 4 | |
| 5 <meta name="viewport" content="width=800"> | 4 <meta name="viewport" content="width=800"> |
| 6 <style> | 5 <style> |
| 7 body { | 6 body { |
| 8 width: 800px; | 7 width: 800px; |
| 9 margin: 0; | 8 margin: 0; |
| 10 overflow-y: hidden; | 9 overflow-y: hidden; |
| 11 } | 10 } |
| 12 </style> | 11 </style> |
| 13 | |
| 14 </head> | 12 </head> |
| 15 <body> | 13 <body> |
| 16 | 14 <div style="font-size: 2.5rem"> |
| 17 <div style="top: 50px; position: absolute; overflow: auto; font-size: 19.8px"> | 15 This paragraph should be autosized to 40px<br/> |
| 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . .<br/> | |
| 19 This paragraph should be autosized to 19.8px<br/> | |
| 20 because it contains line breaks.<br/> | 16 because it contains line breaks.<br/> |
| 21 This test is intended to check<br/> | 17 This test is intended to check<br/> |
| 22 that there are no oscillations due to javascript<br/> | 18 that there are no oscillations due to javascript<br/> |
| 23 briefly increasing the font size of a<br/> | 19 briefly increasing the font size of a<br/> |
| 24 small paragraph below. | 20 small paragraph below. |
| 25 </div> | 21 </div> |
| 26 <div id="sizechanging"> | 22 <div id="sizechanging" style="position: absolute; bottom: 0;"> |
| 27 This text changes size using javascript below. | 23 This text changes size using javascript below. |
| 28 </div> | 24 </div> |
| 29 | |
| 30 </body> | 25 </body> |
| 31 </html> | 26 </html> |
| OLD | NEW |