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

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

Issue 14146029: Fix textarea font autosizing oscillation when the number of lines exceeds 4. The proposed fix is no… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html style="font-size: 16px">
3 <head>
4
5 <meta name="viewport" content="width=800">
6 <style>
7 body {
8 width: 800px;
9 margin: 0;
10 overflow-y: hidden;
11 }
12 </style>
13
14 </head>
15 <body>
16
17 <textarea rows="12" style="width: 100%; font-size: 2.5rem">
18 The text inside this textarea should be autosized to 40px computed font-size (16 * 800/320). Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do ei usmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim venia m, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conse quat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolo re eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sun t in culpa qui officia deserunt mollit anim id est laborum.
19 </textarea>
20
21 </body>
22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text-autosizing/textarea-fontsize-change.html ('k') | Source/core/rendering/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698