From 99b187d1a20c8548e6a6e876f75a28c6e24bff2d Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 11 Mar 2012 12:55:55 +0000 Subject: [PATCH] Revert addition of input placeholder rules This commit reverts the following 5 commits: 49392e9df27b7036609f56861679e8cf9c0ea264 f9572a461a6a3baf7f151c095ab23babc4937a39 79e2c16ba5157c46ea4a129dd99420ac2f85f3f0 2691e7ab14682dc8f9e942456887df0e35804087 567af2e7d68d2bebb6428748190fd7dc5e6a4e51 The `:moz-placeholder` rule doesn't have the desired effect because any subsequent rule with higher specificity will result in the Firefox bug resurfacing. There is no way to ensure that Firefox doesn't change the color of the placeholder text. Example: https://tinker.io/e34a2 The `:focus::webkit-input-placeholder` normalization is being removed because the current Chrome / Safari on Lion OSX behaviour is allowed in the spec, Firefox is set to implement the same behaviour, and other browsers may follow suit for usability reasons. Some browser differences like these - low importance and in flux - can be allowed to evolve and settle before assessing whether or not they need or merit normalization. --- normalize.css | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/normalize.css b/normalize.css index 05fd5ad..4474dee 100644 --- a/normalize.css +++ b/normalize.css @@ -1,4 +1,4 @@ -/*! normalize.css 2012-03-09T22:11 UTC - http://github.com/necolas/normalize.css */ +/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */ /* ============================================================================= HTML5 display definitions @@ -489,22 +489,6 @@ textarea { vertical-align: top; /* 2 */ } -/* - * Addresses placeholder color unset in Firefox - */ - -:-moz-placeholder { - color: #a9a9a9; -} - -/* - * Addresses placeholder text remaining visible on focus in Chrome - */ - -:focus::-webkit-input-placeholder { - color: transparent; -} - /* ============================================================================= Tables