Skip to content

Commit

Permalink
Combine the two WebKit search input pseudo-element rules
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Jan 22, 2012
1 parent a336a75 commit f913304
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions normalize.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! normalize.css 2012-01-22T23:00 UTC - http://github.com/necolas/normalize.css */
/*! normalize.css 2012-01-22T23:30 UTC - http://github.com/necolas/normalize.css */

/* =============================================================================
HTML5 display definitions
Expand Down Expand Up @@ -393,17 +393,10 @@ input[type="search"] {
}

/*
* Removes inner padding that is displayed in S5, Chrome on OS X
*/

input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}

/*
* Removes search cancel button in S5, Chrome on OS X
* Removes inner padding and search cancel button in S5, Chrome on OS X
*/

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
}
Expand Down

0 comments on commit f913304

Please sign in to comment.