Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: LayoutTests/css3/viewport-percentage-lengths/viewport-percentage-resize-font-size-expected.html

Issue 13771002: Recalc styles on resize if we have viewport units. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698