From 52e76de509657c7ca093600464b84fbcf5d11b68 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sat, 11 May 2013 11:36:10 -0700 Subject: [PATCH] Revert root color and background normalization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit: 121c08273b1abf06e9890f6929147683a351a835 The change caused problems with `body` background color no longer bubbling up the the `html` element. It also prevented you from setting `color` or `background` styles on `html` before the normalize.css styles. It might not be possibly to safely address – within normalize.css – the problem that it was trying to avoid. Fix gh-188 --- CHANGELOG.md | 2 ++ normalize.css | 16 +++++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 115a94a..9455b24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ == HEAD +* Revert root `color` and `background` normalizations. + == 1.1.1 (April 8, 2013) * Normalize root `color` and `background` to counter the effects of system diff --git a/normalize.css b/normalize.css index 6180caf..352efad 100644 --- a/normalize.css +++ b/normalize.css @@ -59,22 +59,16 @@ audio:not([controls]) { ========================================================================== */ /** - * 1. Prevent system color scheme's background color being used in Firefox, IE, - * and Opera. - * 2. Prevent system color scheme's text color being used in Firefox, IE, and - * Opera. - * 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using + * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using * `em` units. - * 4. Prevent iOS text size adjust after orientation change, without disabling + * 2. Prevent iOS text size adjust after orientation change, without disabling * user zoom. */ html { - background: #fff; /* 1 */ - color: #000; /* 2 */ - font-size: 100%; /* 3 */ - -ms-text-size-adjust: 100%; /* 4 */ - -webkit-text-size-adjust: 100%; /* 4 */ + font-size: 100%; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ } /**