Skip to content

Commit 71d6cdc

Browse files
committed
Revert root color and background normalization
Commit: 9078909 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
1 parent 87db019 commit 71d6cdc

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
== HEAD
22

3+
* Revert root `color` and `background` normalizations.
4+
35
== 2.1.1 (April 8, 2013)
46

57
* Normalize root `color` and `background` to counter the effects of system

normalize.css

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,15 @@ audio:not([controls]) {
5656
========================================================================== */
5757

5858
/**
59-
* 1. Prevent system color scheme's background color being used in Firefox, IE,
60-
* and Opera.
61-
* 2. Prevent system color scheme's text color being used in Firefox, IE, and
62-
* Opera.
63-
* 3. Set default font family to sans-serif.
64-
* 4. Prevent iOS text size adjust after orientation change, without disabling
59+
* 1. Set default font family to sans-serif.
60+
* 2. Prevent iOS text size adjust after orientation change, without disabling
6561
* user zoom.
6662
*/
6763

6864
html {
69-
background: #fff; /* 1 */
70-
color: #000; /* 2 */
71-
font-family: sans-serif; /* 3 */
72-
-ms-text-size-adjust: 100%; /* 4 */
73-
-webkit-text-size-adjust: 100%; /* 4 */
65+
font-family: sans-serif; /* 1 */
66+
-ms-text-size-adjust: 100%; /* 2 */
67+
-webkit-text-size-adjust: 100%; /* 2 */
7468
}
7569

7670
/**

0 commit comments

Comments
 (0)