From f9133044985e7672b789784ed2d372cb1f6972c5 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 22 Jan 2012 23:31:15 +0000 Subject: [PATCH] Combine the two WebKit search input pseudo-element rules --- normalize.css | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/normalize.css b/normalize.css index 367436b..0e289ab 100644 --- a/normalize.css +++ b/normalize.css @@ -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; }