Skip to content

Commit

Permalink
Remove input[type="search"] WebKit decoration from Safari and Chrome …
Browse files Browse the repository at this point in the history
…in OSX, corrects excess inner padding. Fix necolas#3
  • Loading branch information
necolas committed May 31, 2011
1 parent ae8afed commit 94bf35d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 94bf35d

Please sign in to comment.