Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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
Nicolas Gallagher necolas authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 normalize.css
10 normalize.css
View
@@ -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/
*/
Please sign in to comment.
Something went wrong with that request. Please try again.