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