Remove search cancel button from search inputs on Mac OS X.

After normalizing the search input on OS X, the search cancel
pseudo-element is not always well positioned and is missing from
other UAs.
This commit is contained in:
Nicolas Gallagher 2012-01-17 16:33:39 +00:00
parent 23c6fe17d2
commit efd8220019

10
normalize.css vendored
View File

@ -1,4 +1,4 @@
/*! normalize.css 2012-01-17T15:37 UTC - http://github.com/necolas/normalize.css */
/*! normalize.css 2012-01-17T16:33 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
HTML5 display definitions
@ -402,6 +402,14 @@ input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/*
* Removes search cancel button in S5, Chrome on OS X
*/
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
}
/*
* Removes inner padding and border in FF3+
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/