Combine the two WebKit search input pseudo-element rules

This commit is contained in:
Nicolas Gallagher 2012-01-22 23:31:15 +00:00
parent a336a75dd2
commit f913304498

13
normalize.css vendored
View File

@ -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
@ -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;
}