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

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

Issue 16019004: Text Autosizing: Treat position:absolute/fixed as constrained height. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698