Revert root color and background normalization

Commit: 907890983e

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
This commit is contained in:
Nicolas Gallagher 2013-05-07 23:40:22 -07:00
parent 87db019374
commit 71d6cdc9a8
2 changed files with 7 additions and 11 deletions

View File

@ -1,5 +1,7 @@
== HEAD
* Revert root `color` and `background` normalizations.
== 2.1.1 (April 8, 2013)
* Normalize root `color` and `background` to counter the effects of system

16
normalize.css vendored
View File

@ -56,21 +56,15 @@ 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. Set default font family to sans-serif.
* 4. Prevent iOS text size adjust after orientation change, without disabling
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
background: #fff; /* 1 */
color: #000; /* 2 */
font-family: sans-serif; /* 3 */
-ms-text-size-adjust: 100%; /* 4 */
-webkit-text-size-adjust: 100%; /* 4 */
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**