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

Side by Side Diff: LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change-expected.html

Issue 356133003: Update the two remaining tests for the fast text autosizer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698