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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/text/text-lineheight-centering.html

Issue 1915353003: INPUT textfield: Do not remove line-height of innerEditor if we don't need to remove it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 <body>
3 <style>
4 body {
5 font-family: "Helvetica Neue", sans-serif;
6 font-size: 16px;
7 }
8 input {
9 line-height: 33px;
10 height: 33px;
11
12 -webkit-appearance:none;
13 background: red;
14 border: none;
15 font-family: inherit;
16 font-size: inherit;
17 padding: 0;
18 text-decoration: underline;
19 vertical-align: top;
20 width: 80px;
21 }
22 </style>
23 <!-- vertical position of text should be same as the DIV case. -->
24 <input value="Some text">
25 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698