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

Side by Side Diff: LayoutTests/fast/text-autosizing/textarea-fontsize-change.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: fix include 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
« no previous file with comments | « no previous file | LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 .largersize{font-size: 1.1em}
johnme 2013/04/26 12:24:57 Unused?
timvolodine 2013/04/26 18:15:09 Done.
13 </style>
14
15 <script>
16 if (window.internals) {
17 window.internals.settings.setTextAutosizingEnabled(true);
18 window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
19 } else if (window.console && console.warn) {
20 console.warn("This test depends on the Text Autosizing setting being true, s o run it in DumpRenderTree, or manually enable Text Autosizing, and either use a mobile device with 320px device-width (like Nexus S or iPhone), or define HACK_ FORCE_TEXT_AUTOSIZING_ON_DESKTOP.");
21 }
22 </script>
23
24 </head>
25 <body>
26
27 <textarea rows=8 cols=85>
johnme 2013/04/26 12:24:57 Nit: it's more standard to always put quotes aroun
timvolodine 2013/04/26 18:15:09 Done.
28 The text inside this textarea should not be autosized.
29 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostr ud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis au te irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qu i officia deserunt mollit anim id est laborum.
30 </textarea>
31
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/text-autosizing/textarea-fontsize-change-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698