Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |