Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.
  • Loading branch information...
commit efd8220019a5cb25b94a959a7faf9c08bafeb827 1 parent 23c6fe1
@necolas necolas authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 normalize.css
View
10 normalize.css
@@ -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
@@ -403,6 +403,14 @@ input[type="search"]::-webkit-search-decoration {
}
/*
+ * 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/
*/

0 comments on commit efd8220

Please sign in to comment.
Something went wrong with that request. Please try again.