| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta name="viewport" content="width=800"> | 4 <meta name="viewport" content="width=800"> |
| 5 <style> | 5 <style> |
| 6 body { | 6 body { |
| 7 font-size: 16px; | 7 font-size: 16px; |
| 8 margin: 0; | 8 margin: 0; |
| 9 overflow: hidden; | 9 overflow: hidden; |
| 10 width: 800px; | 10 width: 800px; |
| 11 } | 11 } |
| 12 </style> | 12 </style> |
| 13 </head> | 13 </head> |
| 14 <body> | 14 <body> |
| 15 <div id="outer" style="font-size: 2.5rem"> | 15 <div id="outer" style="font-size: 2.5rem"> |
| 16 This test verifies that a text autosizing multiplier that is inherited from a | 16 This test verifies that a text autosizing multiplier that is inherited from a |
| 17 parent element's LayoutStyle is reflected in the computed font size, even if t
he | 17 parent element's ComputedStyle is reflected in the computed font size, even if
the |
| 18 specified font size is different and the next text autosizing pass doesn't alt
er | 18 specified font size is different and the next text autosizing pass doesn't alt
er |
| 19 the multiplier. | 19 the multiplier. |
| 20 <div style="font-size: 30px"> | 20 <div style="font-size: 30px"> |
| 21 This test verifies that a text autosizing multiplier that is inherited from
a | 21 This test verifies that a text autosizing multiplier that is inherited from
a |
| 22 parent element's LayoutStyle is reflected in the computed font size, even if
the | 22 parent element's ComputedStyle is reflected in the computed font size, even
if the |
| 23 specified font size is different and the next text autosizing pass doesn't a
lter | 23 specified font size is different and the next text autosizing pass doesn't a
lter |
| 24 the multiplier. | 24 the multiplier. |
| 25 </div> | 25 </div> |
| 26 </div> | 26 </div> |
| 27 </body> | 27 </body> |
| 28 </html> | 28 </html> |
| OLD | NEW |