OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title>Test font-size in viewport units resizes when window is resized</title> |
| 5 </head> |
| 6 <frameset rows="400px,*"> |
| 7 <frameset cols="600px,*"> |
| 8 <frame src='data:text/html, |
| 9 <style type="text/css"> |
| 10 #test-width { font-size: 60px; line-height: 60px; } |
| 11 #test-height { font-size: 40px; line-height: 40px; } |
| 12 #test-min { font-size: 40px; line-height: 40px; } |
| 13 #test-max { font-size: 60px; line-height: 60px; } |
| 14 </style> |
| 15 <div></div> |
| 16 <p>Issue 124331: This tests that font-size and line-height values specified in v
iewport units scale with the viewport.</p> |
| 17 <p>The font sizes should stay sized in proportion to the viewport dimensions.</p
> |
| 18 <div id="test-width"> width </div> |
| 19 <div id="test-height"> height </div> |
| 20 <div id="test-min"> minimum </div> |
| 21 <div id="test-max"> maximum </div> |
| 22 '></frame> |
| 23 <frame src=""></frame> |
| 24 </frameset> |
| 25 <frame src=""></frame> |
| 26 </frameset> |
| 27 </html> |
OLD | NEW |