mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
style: Disregard the size
attribute for input elements other than text
or password fields. HTML5 § 4.10.5.3.2 doesn't explicitly say to do this, but all other browser engines seem to do it. Improves the Google home page.
This commit is contained in:
parent
211ee668fa
commit
79336d21b5
5 changed files with 35 additions and 18 deletions
|
@ -4,7 +4,7 @@ textarea { background: white; min-height: 1.0em; padding: 0em; pa
|
|||
button,
|
||||
input[type="button"],
|
||||
input[type="submit"],
|
||||
input[type="reset"] { background: lightgrey; border-top: solid 1px #EEEEEE; border-left: solid 1px #CCCCCC; border-right: solid 1px #999999; border-bottom: solid 1px #999999; text-align: center; vertical-align: middle; color: black; width: 100%; }
|
||||
input[type="reset"] { background: lightgrey; border-top: solid 1px #EEEEEE; border-left: solid 1px #CCCCCC; border-right: solid 1px #999999; border-bottom: solid 1px #999999; text-align: center; vertical-align: middle; color: black; }
|
||||
input[type="hidden"] { display: none !important }
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] { font-family: monospace !important; border: none !important; background: transparent; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue