Remove input[type="search"] WebKit decoration from Safari and Chrome in OSX, corrects excess inner padding. Fix #3

This commit is contained in:
Nicolas Gallagher 2011-05-31 06:46:59 -07:00
parent ae8afed13b
commit 94bf35d61c

8
normalize.css vendored
View File

@ -363,6 +363,14 @@ input[type="search"] {
box-sizing: content-box;
}
/*
* Remove WebKit search decoration
* Addresses inner padding displaying oddly in S5 Chrome on OSX
*/
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/*
* Fix inner padding and border displayed in FF3/4
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/