From 7e014980b9155c8ef77b6d08c2ac352382a095b5 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Thu, 16 Aug 2012 22:34:39 +0100
Subject: [PATCH 01/86] Drop legacy browser support
No longer supports IE 6/7, Firefox < 4, and Safari < 5.
* Make use of `inherit` to simplify some of the rules.
* Remove a lot of padding and margin normalization, particularly for
typographic elements, because modern browsers share common base
styles.
* Add `quotes` normalization. While all target browsers support
`quotes`, they don't share a common set of quote styles. Opera and IE
use "curly" quotes whereas other browsers do not. Browsers don't
appear to set different quotes depending on the language (via the
`lang` attribute) of the content.
* Remove all list normalizations and they aren't needed anymore.
* Remove a handful of form normalizations that targetted IE 6/7 or
Firefox 3.
---
CHANGELOG.md | 9 +++
README.md | 8 +--
normalize.css | 187 ++++++++------------------------------------------
3 files changed, 43 insertions(+), 161 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0063eee02..7466d0558 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+== HEAD
+
+* Remove legacy browser form normalizations.
+* Remove all list normalizations.
+* Add `quotes` normalizations.
+* Remove all heading normalizations except `h1` font size.
+* Form elements automatically inherit `font-family` from ancestor.
+* Drop support for IE 6/7, Firefox < 4, and Safari < 5.
+
== 1.0.1 (August 19, 2012)
* Adjust `small` font size normalization.
diff --git a/README.md b/README.md
index 589a3c3ed..60318ce3e 100644
--- a/README.md
+++ b/README.md
@@ -26,10 +26,10 @@ override the defaults later in your CSS.
## Browser support
* Google Chrome
-* Mozilla Firefox 3+
-* Apple Safari 4+
-* Opera 10+
-* Internet Explorer 6+
+* Mozilla Firefox 4+
+* Apple Safari 5+
+* Opera 12+
+* Internet Explorer 8+
## Contribute
diff --git a/normalize.css b/normalize.css
index d4210aac2..2223b5b77 100644
--- a/normalize.css
+++ b/normalize.css
@@ -5,7 +5,7 @@
========================================================================== */
/*
- * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3.
+ * Corrects `block` display not defined in IE 8/9.
*/
article,
@@ -23,7 +23,7 @@ summary {
}
/*
- * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
+ * Corrects `inline-block` display not defined in IE 8/9.
*/
audio,
@@ -45,9 +45,7 @@ audio:not([controls]) {
}
/*
- * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3,
- * and Safari 4.
- * Known issue: no IE 6 support.
+ * Addresses styling for `hidden` attribute not present in IE 8/9.
*/
[hidden] {
@@ -59,33 +57,19 @@ audio:not([controls]) {
========================================================================== */
/*
- * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
- * `em` units.
+ * 1. Sets default font family to sans-serif.
* 2. Prevents iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
- font-size: 100%; /* 1 */
+ font-family: sans-serif; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 2 */
}
/*
- * Addresses `font-family` inconsistency between `textarea` and other form
- * elements.
- */
-
-html,
-button,
-input,
-select,
-textarea {
- font-family: sans-serif;
-}
-
-/*
- * Addresses margins handled incorrectly in IE 6/7.
+ * Removes default margin.
*/
body {
@@ -118,43 +102,16 @@ a:hover {
========================================================================== */
/*
- * Addresses font sizes and margins set differently in IE 6/7.
- * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5,
- * and Chrome.
+ * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
+ * Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
- margin: 0.67em 0;
-}
-
-h2 {
- font-size: 1.5em;
- margin: 0.83em 0;
-}
-
-h3 {
- font-size: 1.17em;
- margin: 1em 0;
-}
-
-h4 {
- font-size: 1em;
- margin: 1.33em 0;
-}
-
-h5 {
- font-size: 0.83em;
- margin: 1.67em 0;
-}
-
-h6 {
- font-size: 0.75em;
- margin: 2.33em 0;
}
/*
- * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome.
+ * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
*/
abbr[title] {
@@ -162,7 +119,7 @@ abbr[title] {
}
/*
- * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
+ * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
b,
@@ -170,10 +127,6 @@ strong {
font-weight: bold;
}
-blockquote {
- margin: 1em 40px;
-}
-
/*
* Addresses styling not present in Safari 5 and Chrome.
*/
@@ -183,7 +136,7 @@ dfn {
}
/*
- * Addresses styling not present in IE 6/7/8/9.
+ * Addresses styling not present in IE 8/9.
*/
mark {
@@ -191,17 +144,9 @@ mark {
color: #000;
}
-/*
- * Addresses margins set differently in IE 6/7.
- */
-
-p,
-pre {
- margin: 1em 0;
-}
/*
- * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome.
+ * Corrects font family set oddly in Safari 5 and Chrome.
*/
code,
@@ -209,7 +154,6 @@ kbd,
pre,
samp {
font-family: monospace, serif;
- _font-family: 'courier new', monospace;
font-size: 1em;
}
@@ -224,21 +168,11 @@ pre {
}
/*
- * Addresses CSS quotes not supported in IE 6/7.
+ * Sets consistent quote types.
*/
q {
- quotes: none;
-}
-
-/*
- * Addresses `quotes` property not supported in Safari 4.
- */
-
-q:before,
-q:after {
- content: '';
- content: none;
+ quotes: "\201C" "\201D" "\2018" "\2019";
}
/*
@@ -269,57 +203,16 @@ sub {
bottom: -0.25em;
}
-/* ==========================================================================
- Lists
- ========================================================================== */
-
-/*
- * Addresses margins set differently in IE 6/7.
- */
-
-dl,
-menu,
-ol,
-ul {
- margin: 1em 0;
-}
-
-dd {
- margin: 0 0 0 40px;
-}
-
-/*
- * Addresses paddings set differently in IE 6/7.
- */
-
-menu,
-ol,
-ul {
- padding: 0 0 0 40px;
-}
-
-/*
- * Corrects list images handled incorrectly in IE 7.
- */
-
-nav ul,
-nav ol {
- list-style: none;
- list-style-image: none;
-}
-
/* ==========================================================================
Embedded content
========================================================================== */
/*
- * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3.
- * 2. Improves image quality when scaled in IE 7.
+ * Removes border when inside `a` element in IE 8/9.
*/
img {
- border: 0; /* 1 */
- -ms-interpolation-mode: bicubic; /* 2 */
+ border: 0;
}
/*
@@ -335,7 +228,7 @@ svg:not(:root) {
========================================================================== */
/*
- * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
+ * Addresses margin not present in IE 8/9 and Safari 5.
*/
figure {
@@ -346,14 +239,6 @@ figure {
Forms
========================================================================== */
-/*
- * Corrects margin displayed oddly in IE 6/7.
- */
-
-form {
- margin: 0;
-}
-
/*
* Define consistent border, margin, and padding.
*/
@@ -365,37 +250,32 @@ fieldset {
}
/*
- * 1. Corrects color not being inherited in IE 6/7/8/9.
- * 2. Corrects text not wrapping in Firefox 3.
- * 3. Corrects alignment displayed oddly in IE 6/7.
+ * 1. Corrects color not being inherited in IE 8/9.
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
- padding: 0;
- white-space: normal; /* 2 */
- *margin-left: -7px; /* 3 */
+ padding: 0; /* 2 */
}
/*
- * 1. Corrects font size not being inherited in all browsers.
- * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
- * and Chrome.
- * 3. Improves appearance and consistency in all browsers.
+ * 1. Corrects font family not being inherited in all browsers.
+ * 2. Corrects font size not being inherited in all browsers.
+ * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
*/
button,
input,
select,
textarea {
- font-size: 100%; /* 1 */
- margin: 0; /* 2 */
- vertical-align: baseline; /* 3 */
- *vertical-align: middle; /* 3 */
+ font-family: inherit; /* 1 */
+ font-size: 100%; /* 2 */
+ margin: 0; /* 3 */
}
/*
- * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
+ * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
@@ -410,8 +290,6 @@ input {
* 2. Corrects inability to style clickable `input` types in iOS.
* 3. Improves usability and consistency of cursor style between image-type
* `input` and others.
- * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
- * Known issue: inner spacing remains in IE 6.
*/
button,
@@ -420,7 +298,6 @@ input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
- *overflow: visible; /* 4 */
}
/*
@@ -433,18 +310,14 @@ input[disabled] {
}
/*
- * 1. Addresses box sizing set to content-box in IE 8/9.
+ * 1. Addresses box sizing set to `content-box` in IE 8/9.
* 2. Removes excess padding in IE 8/9.
- * 3. Removes excess padding in IE 7.
- * Known issue: excess padding remains in IE 6.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
- *height: 13px; /* 3 */
- *width: 13px; /* 3 */
}
/*
@@ -471,7 +344,7 @@ input[type="search"]::-webkit-search-decoration {
}
/*
- * Removes inner padding and border in Firefox 3+.
+ * Removes inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
@@ -481,7 +354,7 @@ input::-moz-focus-inner {
}
/*
- * 1. Removes default vertical scrollbar in IE 6/7/8/9.
+ * 1. Removes default vertical scrollbar in IE 8/9.
* 2. Improves readability and alignment in all browsers.
*/
From 494d32bd1d8a830b1ad5cf267c9e92bcd6c456df Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 19 Aug 2012 20:37:31 +0100
Subject: [PATCH 02/86] v2.0.0
---
CHANGELOG.md | 2 +-
README.md | 4 ++--
component.json | 2 +-
normalize.css | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7466d0558..a8d5b8234 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-== HEAD
+== 2.0.0 (August 19, 2012)
* Remove legacy browser form normalizations.
* Remove all list normalizations.
diff --git a/README.md b/README.md
index 60318ce3e..a5b59af25 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# normalize.css v1.0.1
+# normalize.css v2.0.0
Normalize.css is a customisable CSS file that makes browsers render all
elements more consistently and in line with modern standards. We researched the
differences between default browser styles in order to precisely target only
the styles that need normalizing.
-[Check out the demo](http://necolas.github.com/normalize.css/1.0.1/test.html)
+[Check out the demo](http://necolas.github.com/normalize.css/2.0.0/test.html)
## What does it do?
diff --git a/component.json b/component.json
index 3d6f9739a..fe3e79f55 100644
--- a/component.json
+++ b/component.json
@@ -1,6 +1,6 @@
{
"name": "normalize-css",
- "version": "1.0.1",
+ "version": "2.0.0",
"author": "Nicolas Gallagher",
"homepage": "http://necolas.github.com/normalize.css",
"repository": {
diff --git a/normalize.css b/normalize.css
index 2223b5b77..4c3a36d5a 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css v1.0.1 | MIT License | git.io/normalize */
+/*! normalize.css v2.0.0 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
From dcc17fd21ab53f5e268ec1fda1037fab6bc61886 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Robichet?=
Date: Mon, 20 Aug 2012 12:40:16 +0300
Subject: [PATCH 03/86] Remove stray IE 6/7 hack
---
CHANGELOG.md | 4 ++++
normalize.css | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a8d5b8234..e68e76385 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+== HEAD
+
+* Remove stray IE 6/7 `inline-block` hack from HTML5 display settings.
+
== 2.0.0 (August 19, 2012)
* Remove legacy browser form normalizations.
diff --git a/normalize.css b/normalize.css
index 4c3a36d5a..d8972aec2 100644
--- a/normalize.css
+++ b/normalize.css
@@ -30,8 +30,6 @@ audio,
canvas,
video {
display: inline-block;
- *display: inline;
- *zoom: 1;
}
/*
From 994782f372dda6044d2a85d48f1f1ee5f48c0e11 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 20 Aug 2012 10:50:37 +0100
Subject: [PATCH 04/86] v2.0.1
---
CHANGELOG.md | 2 +-
README.md | 4 ++--
component.json | 4 ++--
normalize.css | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e68e76385..e8a6349a0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-== HEAD
+== 2.0.1 (August 20, 2012)
* Remove stray IE 6/7 `inline-block` hack from HTML5 display settings.
diff --git a/README.md b/README.md
index a5b59af25..82f9f5d63 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# normalize.css v2.0.0
+# normalize.css v2.0.1
Normalize.css is a customisable CSS file that makes browsers render all
elements more consistently and in line with modern standards. We researched the
differences between default browser styles in order to precisely target only
the styles that need normalizing.
-[Check out the demo](http://necolas.github.com/normalize.css/2.0.0/test.html)
+[Check out the demo](http://necolas.github.com/normalize.css/2.0.1/test.html)
## What does it do?
diff --git a/component.json b/component.json
index fe3e79f55..80fae5cb5 100644
--- a/component.json
+++ b/component.json
@@ -1,8 +1,8 @@
{
"name": "normalize-css",
- "version": "2.0.0",
+ "version": "2.0.1",
"author": "Nicolas Gallagher",
- "homepage": "http://necolas.github.com/normalize.css",
+ "homepage": "http://necolas.github.com/normalize.css/",
"repository": {
"type": "git",
"url": "https://github.com/necolas/normalize.css.git"
diff --git a/normalize.css b/normalize.css
index d8972aec2..57b5d2679 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css v2.0.0 | MIT License | git.io/normalize */
+/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
From f29e03ae8f4485dbf959c9db09e88fa5bdbeaf86 Mon Sep 17 00:00:00 2001
From: TJ Holowaychuk
Date: Thu, 27 Sep 2012 17:35:25 -0700
Subject: [PATCH 05/86] Update component.json for 'component' support
Add 'styles' property to component.json to play nice with 'component'.
'Component' is another component package manager.
See: https://github.com/component/component
---
component.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/component.json b/component.json
index 80fae5cb5..393f61ee0 100644
--- a/component.json
+++ b/component.json
@@ -3,6 +3,7 @@
"version": "2.0.1",
"author": "Nicolas Gallagher",
"homepage": "http://necolas.github.com/normalize.css/",
+ "styles": ["normalize.css"],
"repository": {
"type": "git",
"url": "https://github.com/necolas/normalize.css.git"
From 70c34af15bdeeec3bdf8f3a8fc8912080f38fb3c Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 26 Nov 2012 09:27:11 -0800
Subject: [PATCH 06/86] Language and comment style
* Make consistent use of tense in code comments.
* Update the comment style to match a more common convention.
* Remove an unintentional newline.
---
normalize.css | 143 +++++++++++++++++++++++++-------------------------
1 file changed, 71 insertions(+), 72 deletions(-)
diff --git a/normalize.css b/normalize.css
index 57b5d2679..418cd111d 100644
--- a/normalize.css
+++ b/normalize.css
@@ -4,8 +4,8 @@
HTML5 display definitions
========================================================================== */
-/*
- * Corrects `block` display not defined in IE 8/9.
+/**
+ * Correct `block` display not defined in IE 8/9.
*/
article,
@@ -22,8 +22,8 @@ summary {
display: block;
}
-/*
- * Corrects `inline-block` display not defined in IE 8/9.
+/**
+ * Correct `inline-block` display not defined in IE 8/9.
*/
audio,
@@ -32,8 +32,8 @@ video {
display: inline-block;
}
-/*
- * Prevents modern browsers from displaying `audio` without controls.
+/**
+ * Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
@@ -42,8 +42,8 @@ audio:not([controls]) {
height: 0;
}
-/*
- * Addresses styling for `hidden` attribute not present in IE 8/9.
+/**
+ * Address styling not present in IE 8/9.
*/
[hidden] {
@@ -54,9 +54,9 @@ audio:not([controls]) {
Base
========================================================================== */
-/*
- * 1. Sets default font family to sans-serif.
- * 2. Prevents 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.
*/
@@ -66,8 +66,8 @@ html {
-ms-text-size-adjust: 100%; /* 2 */
}
-/*
- * Removes default margin.
+/**
+ * Remove default margin.
*/
body {
@@ -78,16 +78,16 @@ body {
Links
========================================================================== */
-/*
- * Addresses `outline` inconsistency between Chrome and other browsers.
+/**
+ * Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
-/*
- * Improves readability when focused and also mouse hovered in all browsers.
+/**
+ * Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
@@ -99,25 +99,25 @@ a:hover {
Typography
========================================================================== */
-/*
- * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
- * Safari 5, and Chrome.
+/**
+ * Address variable `h1` font size within `section` and `article` contexts in
+ * Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
}
-/*
- * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
+/**
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
-/*
- * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
+/**
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
b,
@@ -125,16 +125,16 @@ strong {
font-weight: bold;
}
-/*
- * Addresses styling not present in Safari 5 and Chrome.
+/**
+ * Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
-/*
- * Addresses styling not present in IE 8/9.
+/**
+ * Address styling not present in IE 8/9.
*/
mark {
@@ -142,9 +142,8 @@ mark {
color: #000;
}
-
-/*
- * Corrects font family set oddly in Safari 5 and Chrome.
+/**
+ * Correct font family set oddly in Safari 5 and Chrome.
*/
code,
@@ -155,8 +154,8 @@ samp {
font-size: 1em;
}
-/*
- * Improves readability of pre-formatted text in all browsers.
+/**
+ * Improve readability of pre-formatted text in all browsers.
*/
pre {
@@ -165,24 +164,24 @@ pre {
word-wrap: break-word;
}
-/*
- * Sets consistent quote types.
+/**
+ * Set consistent quote types.
*/
q {
quotes: "\201C" "\201D" "\2018" "\2019";
}
-/*
- * Addresses inconsistent and variable font size in all browsers.
+/**
+ * Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
-/*
- * Prevents `sub` and `sup` affecting `line-height` in all browsers.
+/**
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
@@ -205,16 +204,16 @@ sub {
Embedded content
========================================================================== */
-/*
- * Removes border when inside `a` element in IE 8/9.
+/**
+ * Remove border when inside `a` element in IE 8/9.
*/
img {
border: 0;
}
-/*
- * Corrects overflow displayed oddly in IE 9.
+/**
+ * Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
@@ -225,8 +224,8 @@ svg:not(:root) {
Figures
========================================================================== */
-/*
- * Addresses margin not present in IE 8/9 and Safari 5.
+/**
+ * Address margin not present in IE 8/9 and Safari 5.
*/
figure {
@@ -237,7 +236,7 @@ figure {
Forms
========================================================================== */
-/*
+/**
* Define consistent border, margin, and padding.
*/
@@ -247,8 +246,8 @@ fieldset {
padding: 0.35em 0.625em 0.75em;
}
-/*
- * 1. Corrects color not being inherited in IE 8/9.
+/**
+ * 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
@@ -257,10 +256,10 @@ legend {
padding: 0; /* 2 */
}
-/*
- * 1. Corrects font family not being inherited in all browsers.
- * 2. Corrects font size not being inherited in all browsers.
- * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
+/**
+ * 1. Correct font family not being inherited in all browsers.
+ * 2. Correct font size not being inherited in all browsers.
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
button,
@@ -272,8 +271,8 @@ textarea {
margin: 0; /* 3 */
}
-/*
- * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
+/**
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
@@ -282,11 +281,11 @@ input {
line-height: normal;
}
-/*
+/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
- * 2. Corrects inability to style clickable `input` types in iOS.
- * 3. Improves usability and consistency of cursor style between image-type
+ * 2. Correct inability to style clickable `input` types in iOS.
+ * 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
@@ -298,7 +297,7 @@ input[type="submit"] {
cursor: pointer; /* 3 */
}
-/*
+/**
* Re-set default cursor for disabled elements.
*/
@@ -307,9 +306,9 @@ input[disabled] {
cursor: default;
}
-/*
- * 1. Addresses box sizing set to `content-box` in IE 8/9.
- * 2. Removes excess padding in IE 8/9.
+/**
+ * 1. Address box sizing set to `content-box` in IE 8/9.
+ * 2. Remove excess padding in IE 8/9.
*/
input[type="checkbox"],
@@ -318,9 +317,9 @@ input[type="radio"] {
padding: 0; /* 2 */
}
-/*
- * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
- * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
+/**
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
@@ -331,8 +330,8 @@ input[type="search"] {
box-sizing: content-box;
}
-/*
- * Removes inner padding and search cancel button in Safari 5 and Chrome
+/**
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
@@ -341,8 +340,8 @@ input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
-/*
- * Removes inner padding and border in Firefox 4+.
+/**
+ * Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
@@ -351,9 +350,9 @@ input::-moz-focus-inner {
padding: 0;
}
-/*
- * 1. Removes default vertical scrollbar in IE 8/9.
- * 2. Improves readability and alignment in all browsers.
+/**
+ * 1. Remove default vertical scrollbar in IE 8/9.
+ * 2. Improve readability and alignment in all browsers.
*/
textarea {
@@ -365,7 +364,7 @@ textarea {
Tables
========================================================================== */
-/*
+/**
* Remove most spacing between table cells.
*/
From 5399ff9c0e6d60b4a96c1e388755137de52690b4 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sat, 1 Dec 2012 17:34:14 -0800
Subject: [PATCH 07/86] Fix cursor style for disabled button `input`
The Android 4.0.* work around - `html input[type="button"]` - requires
the addition of `html` to the selector for disabled inputs, otherwise
disabled button inputs still have the `pointer` cursor.
---
normalize.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/normalize.css b/normalize.css
index 418cd111d..7b3991239 100644
--- a/normalize.css
+++ b/normalize.css
@@ -302,7 +302,7 @@ input[type="submit"] {
*/
button[disabled],
-input[disabled] {
+html input[disabled] {
cursor: default;
}
From 2eb80024f66dd5745cba5dcef5c9b0c466ecb8d5 Mon Sep 17 00:00:00 2001
From: Dawid Kruczek
Date: Mon, 14 Jan 2013 20:48:50 -0800
Subject: [PATCH 08/86] Add `main` element to HTML5 display definitions
The HTML Working Draft has added `main` as a new element.
---
normalize.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/normalize.css b/normalize.css
index 7b3991239..869763f4f 100644
--- a/normalize.css
+++ b/normalize.css
@@ -16,6 +16,7 @@ figure,
footer,
header,
hgroup,
+main,
nav,
section,
summary {
From 63acb0bf1de0928203685a4b89960dfce841f98a Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 14 Jan 2013 20:55:41 -0800
Subject: [PATCH 09/86] Update CHANGELOG
---
CHANGELOG.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e8a6349a0..0bd4e5f65 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+== HEAD
+
+* Add `main` element to HTML5 display definitions.
+* Fix cursor style for disabled button `input`.
+
== 2.0.1 (August 20, 2012)
* Remove stray IE 6/7 `inline-block` hack from HTML5 display settings.
From 28f15186663e3b9cf95b78b2f6e6dd8ad5ec34c1 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sat, 19 Jan 2013 13:04:00 -0800
Subject: [PATCH 10/86] Remove unnecessary `pre` styles
`word-wrap: break-word` was only needed for IE 6/7, and `white-space:
pre` is the default for all supported browsers.
Fix gh-159
---
CHANGELOG.md | 1 +
normalize.css | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0bd4e5f65..25cee0922 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
== HEAD
+* Remove unnecessary `pre` styles.
* Add `main` element to HTML5 display definitions.
* Fix cursor style for disabled button `input`.
diff --git a/normalize.css b/normalize.css
index 869763f4f..aa47965d4 100644
--- a/normalize.css
+++ b/normalize.css
@@ -160,9 +160,7 @@ samp {
*/
pre {
- white-space: pre;
white-space: pre-wrap;
- word-wrap: break-word;
}
/**
From 36fa71d531a299dd81dd17b5abbb1b5c71a7bb95 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 20 Jan 2013 09:23:23 -0800
Subject: [PATCH 11/86] Add `hr` test
---
test.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test.html b/test.html
index 750e5470d..d7103c49b 100644
--- a/test.html
+++ b/test.html
@@ -66,6 +66,10 @@ Text-level semantics
Address: somewhere, world
+
+
+
+
The a element example
The abbr element and abbr element with title examples
From fdb11ae5b5e63431d6f8bd2496a11c08e9de46c5 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 20 Jan 2013 09:23:49 -0800
Subject: [PATCH 12/86] Normalize `hr`
Firefox uses different `box-sizing` and `height` values to all other
browsers. Firefox doesn't currently support `box-sizing` without the
`-moz-` prefix, so we use both the vendor-prefixed and unprefixed
properties to ensure that it matches the `content-box` value of other
browsers. It also requires the `height` to be set to `0`.
Fix gh-133
---
normalize.css | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/normalize.css b/normalize.css
index aa47965d4..6ad707163 100644
--- a/normalize.css
+++ b/normalize.css
@@ -134,6 +134,16 @@ dfn {
font-style: italic;
}
+/**
+ * Address differences between Firefox and other browsers.
+ */
+
+hr {
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ height: 0;
+}
+
/**
* Address styling not present in IE 8/9.
*/
From 6729f5e8f5973c3b31a7a7baab5fdb7860aa623d Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 20 Jan 2013 09:47:45 -0800
Subject: [PATCH 13/86] Update CHANGELOG
---
CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 25cee0922..3b01fcff4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
== HEAD
+* Normalize `hr` element.
* Remove unnecessary `pre` styles.
* Add `main` element to HTML5 display definitions.
* Fix cursor style for disabled button `input`.
From fc85cfb9f16200b4fa048b73c34e295dc77487d1 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 20 Jan 2013 10:01:17 -0800
Subject: [PATCH 14/86] Normalize `h1` margin
Chrome, Safari, and Firefox all adjust the margin of `h1` at several
levels of nesting within HTML5 sectioning elements. This change ensures
that the margin, like the font-size, does not vary in these contexts.
Fix gh-160
---
CHANGELOG.md | 1 +
normalize.css | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3b01fcff4..7f03a9d55 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
== HEAD
+* Normalize `h1` margin when within HTML5 sectioning elements.
* Normalize `hr` element.
* Remove unnecessary `pre` styles.
* Add `main` element to HTML5 display definitions.
diff --git a/normalize.css b/normalize.css
index 6ad707163..0dd72b01c 100644
--- a/normalize.css
+++ b/normalize.css
@@ -101,12 +101,13 @@ a:hover {
========================================================================== */
/**
- * Address variable `h1` font size within `section` and `article` contexts in
- * Firefox 4+, Safari 5, and Chrome.
+ * Address variable `h1` font-size and margin within `section` and `article`
+ * contexts in Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
+ margin: 0.67em 0;
}
/**
From 7bc787fe8660465cdecd902f15cd5538341e1301 Mon Sep 17 00:00:00 2001
From: TJ VanToll
Date: Sun, 20 Jan 2013 17:09:32 -0800
Subject: [PATCH 15/86] Normalize form element `text-transform`
By default, browsers set `text-transform:none` on most form controls in
order to prevent `text-transform` being inherited from ancestor nodes.
However, the `button` and `select` elements are exceptions.
* Firefox and Opera do not apply `text-transform:none` to `select`.
* Chrome, Safari, and IE 8+ do not apply `text-transform:none` to
`button.
It's not suitable to set `text-transform:inherit` because all other form
elements intentionally avoid it. Safari will not honour that style for
`select`, and Chrome will only do so when the `select` element is
clicked.
Further details:
http://tjvantoll.com/2012/07/10/default-browser-handling-of-the-css-text-transform-property/
---
normalize.css | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/normalize.css b/normalize.css
index 0dd72b01c..c433c0a4f 100644
--- a/normalize.css
+++ b/normalize.css
@@ -291,6 +291,18 @@ input {
line-height: normal;
}
+/**
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
+ * All other form control elements do not inherit `text-transform` values.
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
+ */
+
+button,
+select {
+ text-transform: none;
+}
+
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
From 8d5137931facfaea3c98df439143387af279a4f1 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 20 Jan 2013 17:21:16 -0800
Subject: [PATCH 16/86] Update CHANGELOG
---
CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7f03a9d55..a2b1cb56c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
== HEAD
+* Normalize `text-transform` for `button` and `select`.
* Normalize `h1` margin when within HTML5 sectioning elements.
* Normalize `hr` element.
* Remove unnecessary `pre` styles.
From 5c0d44e002a84d1944ce8b9d0aa30e0b860a09c2 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 20 Jan 2013 17:34:29 -0800
Subject: [PATCH 17/86] Update README acknowledgements
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 82f9f5d63..6a3cc904d 100644
--- a/README.md
+++ b/README.md
@@ -38,5 +38,5 @@ guidelines](https://github.com/necolas/issue-guidelines).
## Acknowledgements
-Normalize.css is a project by [Nicolas Gallagher](http://github.com/necolas)
-and [Jonathan Neal](http://github.com/jonathantneal).
+Normalize.css is a project by [Nicolas Gallagher](https://github.com/necolas),
+co-created with [Jonathan Neal](https://github.com/jonathantneal).
From 341199ff56bfa3b0a252bd3fbc96b39213a17e34 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 20 Jan 2013 17:35:12 -0800
Subject: [PATCH 18/86] v2.1.0
---
CHANGELOG.md | 2 ++
README.md | 4 ++--
component.json | 2 +-
normalize.css | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a2b1cb56c..306f2fa91 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
== HEAD
+== 2.1.0 (January 21, 2013)
+
* Normalize `text-transform` for `button` and `select`.
* Normalize `h1` margin when within HTML5 sectioning elements.
* Normalize `hr` element.
diff --git a/README.md b/README.md
index 6a3cc904d..4623dd9fa 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# normalize.css v2.0.1
+# normalize.css v2.1.0
Normalize.css is a customisable CSS file that makes browsers render all
elements more consistently and in line with modern standards. We researched the
differences between default browser styles in order to precisely target only
the styles that need normalizing.
-[Check out the demo](http://necolas.github.com/normalize.css/2.0.1/test.html)
+[Check out the demo](http://necolas.github.com/normalize.css/2.1.0/test.html)
## What does it do?
diff --git a/component.json b/component.json
index 393f61ee0..006d0dc95 100644
--- a/component.json
+++ b/component.json
@@ -1,6 +1,6 @@
{
"name": "normalize-css",
- "version": "2.0.1",
+ "version": "2.1.0",
"author": "Nicolas Gallagher",
"homepage": "http://necolas.github.com/normalize.css/",
"styles": ["normalize.css"],
diff --git a/normalize.css b/normalize.css
index c433c0a4f..a9c6f52f0 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
+/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
From 40f39d8d9e3a237e25f20d1ea9537af130895b3e Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Wed, 27 Mar 2013 15:53:30 -0700
Subject: [PATCH 19/86] Add Bower install and more to README
* Mention v1's support for legacy browsers.
* Provide link to project page for easy download.
* Include Bower install command.
---
README.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/README.md b/README.md
index 4623dd9fa..6d8c32aae 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,14 @@ the styles that need normalizing.
[Check out the demo](http://necolas.github.com/normalize.css/2.1.0/test.html)
+[Legacy browser support is available in v1](https://github.com/necolas/normalize.css/tree/v1)
+
+## Install
+
+Download from the [project page](http://necolas.github.com/normalize.css/).
+
+Install with [Bower](http://twitter.github.com/bower/): `bower install --save normalize-css`
+
## What does it do?
* Preserves useful defaults, unlike many CSS resets.
From 8a925e039178a3531c88ac747894b6fe0992318a Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Fri, 29 Mar 2013 21:30:45 -0700
Subject: [PATCH 20/86] Clean up component.json
Bower doesn't currently use several properties that were included.
Keep `styles` for now, for Component(1).
---
component.json | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/component.json b/component.json
index 006d0dc95..a4b271dd5 100644
--- a/component.json
+++ b/component.json
@@ -3,13 +3,6 @@
"version": "2.1.0",
"author": "Nicolas Gallagher",
"homepage": "http://necolas.github.com/normalize.css/",
- "styles": ["normalize.css"],
- "repository": {
- "type": "git",
- "url": "https://github.com/necolas/normalize.css.git"
- },
- "licenses": [{
- "type": "MIT",
- "url": "http://opensource.org/licenses/MIT"
- }]
+ "main": "normalize.css",
+ "styles": ["normalize.css"]
}
From 907890983eb2d6667e4b9cbd8bd03ead4b077e34 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 1 Apr 2013 06:53:47 -0700
Subject: [PATCH 21/86] Protect root against system color schemes
System color schemes (in particular, custom themes in Windows and Linux
distros) affect Firefox, IE, and Opera. Normalizing the web site/app's
root background and text color prevents these unwanted settings from
being used. Chrome doesn't apply system-level schemes to websites.
Fix gh-170
---
CHANGELOG.md | 3 +++
normalize.css | 16 +++++++++++-----
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 306f2fa91..74d8f1af2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
== HEAD
+* Normalize root `color` and `background` to counter the affects of system
+ color schemes.
+
== 2.1.0 (January 21, 2013)
* Normalize `text-transform` for `button` and `select`.
diff --git a/normalize.css b/normalize.css
index a9c6f52f0..dcf0f82ae 100644
--- a/normalize.css
+++ b/normalize.css
@@ -56,15 +56,21 @@ audio:not([controls]) {
========================================================================== */
/**
- * 1. Set default font family to sans-serif.
- * 2. Prevent iOS text size adjust after orientation change, without disabling
+ * 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
* user zoom.
*/
html {
- font-family: sans-serif; /* 1 */
- -webkit-text-size-adjust: 100%; /* 2 */
- -ms-text-size-adjust: 100%; /* 2 */
+ background: #fff; /* 1 */
+ color: #000; /* 2 */
+ font-family: sans-serif; /* 3 */
+ -ms-text-size-adjust: 100%; /* 4 */
+ -webkit-text-size-adjust: 100%; /* 4 */
}
/**
From 4451c29dec940833acd476d09c3749f696561701 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Wed, 3 Apr 2013 14:13:17 -0400
Subject: [PATCH 22/86] Fix typo
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 74d8f1af2..2147977aa 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
== HEAD
-* Normalize root `color` and `background` to counter the affects of system
+* Normalize root `color` and `background` to counter the effects of system
color schemes.
== 2.1.0 (January 21, 2013)
From 6ccf86e9625b321bd78b92fe8c12422435bed078 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Fri, 5 Apr 2013 12:51:36 -0700
Subject: [PATCH 23/86] Change gh-page URLs to use `.io`
GitHub have redirected all `username.github.com` pages to
`username.github.io`.
---
README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 6d8c32aae..b5e9dc1d2 100644
--- a/README.md
+++ b/README.md
@@ -5,15 +5,15 @@ elements more consistently and in line with modern standards. We researched the
differences between default browser styles in order to precisely target only
the styles that need normalizing.
-[Check out the demo](http://necolas.github.com/normalize.css/2.1.0/test.html)
+[Check out the demo](http://necolas.github.io/normalize.css/2.1.0/test.html)
[Legacy browser support is available in v1](https://github.com/necolas/normalize.css/tree/v1)
## Install
-Download from the [project page](http://necolas.github.com/normalize.css/).
+Download from the [project page](http://necolas.github.io/normalize.css/).
-Install with [Bower](http://twitter.github.com/bower/): `bower install --save normalize-css`
+Install with [Bower](http://twitter.github.io/bower/): `bower install --save normalize-css`
## What does it do?
@@ -42,7 +42,7 @@ override the defaults later in your CSS.
## Contribute
Please read my [issue
-guidelines](https://github.com/necolas/issue-guidelines).
+guidelines](https://github.com/necolas/issue-guidelines/).
## Acknowledgements
From 8afd9f818bc9f4987e71e239489828b5c713932c Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Thu, 28 Mar 2013 20:30:19 -0700
Subject: [PATCH 24/86] Add contribution guidelines
Includes process for maintainers while there is no automation in place.
Close gh-175
---
CONTRIBUTING.md | 176 ++++++++++++++++++++++++++++++++++++++++++++++++
README.md | 3 +-
2 files changed, 177 insertions(+), 2 deletions(-)
create mode 100644 CONTRIBUTING.md
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 000000000..76e55b7e4
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,176 @@
+# Contributing to normalize.css
+
+Please take a moment to review this document in order to make the contribution
+process easy and effective for everyone involved.
+
+Following these guidelines helps to communicate that you respect the time of
+the developers managing and developing this open source project. In return,
+they should reciprocate that respect in addressing your issue or assessing
+patches and features.
+
+
+## Using the issue tracker
+
+The issue tracker is the preferred channel for [bug reports](#bugs),
+[features requests](#features) and [submitting pull
+requests](#pull-requests), but please respect the following restrictions:
+
+* Please **do not** use the issue tracker for personal support requests.
+
+* Please **do not** derail or troll issues. Keep the discussion on topic and
+ respect the opinions of others.
+
+
+
+## Bug reports
+
+A bug is a _demonstrable problem_ that is caused by the code in the repository.
+Good bug reports are extremely helpful - thank you!
+
+Guidelines for bug reports:
+
+1. **Use the GitHub issue search** – check if the issue has already been
+ reported.
+
+2. **Check if the issue has been fixed** – try to reproduce it using the
+ latest `master` branch in the repository.
+
+3. **Isolate the problem** – create a live example (e.g., on
+ [Codepen](http://codepen.io)) of a [reduced test
+ case](http://css-tricks.com/6263-reduced-test-cases/).
+
+A good bug report shouldn't leave others needing to chase you up for more
+information. Please try to be as detailed as possible in your report. What is
+your environment? What steps will reproduce the issue? What browser(s) and OS
+experience the problem? What would you expect to be the outcome? All these
+details will help people to fix any potential bugs.
+
+Example:
+
+> Short and descriptive example bug report title
+>
+> A summary of the issue and the browser/OS environment in which it occurs. If
+> suitable, include the steps required to reproduce the bug.
+>
+> 1. This is the first step
+> 2. This is the second step
+> 3. Further steps, etc.
+>
+> `` - a link to the reduced test case
+>
+> Any other information you want to share that is relevant to the issue being
+> reported. This might include the lines of code that you have identified as
+> causing the bug, and potential solutions (and your opinions on their
+> merits).
+
+
+
+## Feature requests
+
+Feature requests are welcome. But take a moment to find out whether your idea
+fits with the scope and aims of the project. It's up to *you* to make a strong
+case to convince the project's developers of the merits of this feature. Please
+provide as much detail and context as possible.
+
+
+
+## Pull requests
+
+Good pull requests - patches, improvements, new features - are a fantastic
+help. They should remain focused in scope and avoid containing unrelated
+commits.
+
+**Please ask first** before embarking on any significant work, otherwise you
+risk spending a lot of time working on something that the project's developers
+might not want to merge into the project.
+
+Please adhere to the coding conventions used throughout a project (whitespace,
+accurate comments, etc.) and any other requirements (such as test coverage).
+
+Follow this process if you'd like your work considered for inclusion in the
+
+1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
+ and configure the remotes:
+
+ ```bash
+ # Clone your fork of the repo into the current directory
+ git clone https://github.com//normalize.css
+ # Navigate to the newly cloned directory
+ cd normalize.css
+ # Assign the original repo to a remote called "upstream"
+ git remote add upstream https://github.com/necolas/normalize.css
+ ```
+
+2. If you cloned a while ago, get the latest changes from upstream:
+
+ ```bash
+ git checkout master
+ git pull upstream master
+ ```
+
+3. Never work directly on `master`. Create a new topic branch (off the latest
+ version of `master`) to contain your feature, change, or fix:
+
+ ```bash
+ git checkout -b
+ ```
+
+4. Commit your changes in logical chunks. Please adhere to these [git commit
+ message conventions](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
+ or your code is unlikely be merged into the main project. Use Git's
+ [interactive rebase](https://help.github.com/articles/interactive-rebase)
+ feature to tidy up your commits before making them public.
+
+ Make sure to add a test to the `test.html` file if appropriate, and test
+ your change in all supported browsers.
+
+5. Locally rebase the upstream development branch into your topic branch:
+
+ ```bash
+ git pull --rebase upstream master
+ ```
+
+6. Push your topic branch up to your fork:
+
+ ```bash
+ git push origin
+ ```
+
+10. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
+ with a clear title and description.
+
+ Please submit a separate pull request for any appropriate changes required
+ in the `v1` branch for legacy browsers.
+
+**IMPORTANT**: By submitting a patch, you agree to allow the project owner to
+license your work under the same license as that used by the project.
+
+
+
+## Maintainers
+
+If you have commit access, please follow this process for merging patches and
+cutting new releases.
+
+### Accepting patches
+
+1. Check that a patch is within the scope and philosophy of the project.
+2. Check that a patch has any necessary tests and a proper, descriptive commit
+ message.
+3. Test the patch locally.
+4. Do not use GitHub's merge button. Apply the patch to `master` locally
+ (either via `git am` or by checking the whole branch out). Amend minor
+ problems with the author's original commit if necessary. Then push to GitHub.
+5. If a patch should be included in `v1`, cherry-pick the commits or manually
+ apply if all else fails.
+
+### Releasing a new version
+
+1. Include all new functional changes in the CHANGELOG.
+2. Use a dedicated commit to increment the version. The version needs to be
+ added to the CHANGELOG (inc. date), and edited in the README,
+ `component.json`, and `normalize.css` files.
+3. The commit message must be of `v0.0.0` format.
+4. Create an annotated tag for the version: `git tag -m v0.0.0`.
+5. Push the changes and tags to GitHub: `git push --tags origin master`
+6. Checkout the `gh-pages` branch and follow the instructions in the README.
diff --git a/README.md b/README.md
index b5e9dc1d2..d44161ec7 100644
--- a/README.md
+++ b/README.md
@@ -41,8 +41,7 @@ override the defaults later in your CSS.
## Contribute
-Please read my [issue
-guidelines](https://github.com/necolas/issue-guidelines/).
+Please read the CONTRIBUTING.md
## Acknowledgements
From 34614f481141498630edd1f79008da75357fa6d0 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 7 Apr 2013 17:26:43 -0700
Subject: [PATCH 25/86] Fix example `git tag` command in docs
---
CONTRIBUTING.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 76e55b7e4..30ffc0d6f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -171,6 +171,6 @@ cutting new releases.
added to the CHANGELOG (inc. date), and edited in the README,
`component.json`, and `normalize.css` files.
3. The commit message must be of `v0.0.0` format.
-4. Create an annotated tag for the version: `git tag -m v0.0.0`.
+4. Create an annotated tag for the version: `git tag -m "v0.0.0" v0.0.0`.
5. Push the changes and tags to GitHub: `git push --tags origin master`
6. Checkout the `gh-pages` branch and follow the instructions in the README.
From 691c71b98518b09a8c83412168a27653c302ef75 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 7 Apr 2013 17:27:53 -0700
Subject: [PATCH 26/86] v2.1.1
---
CHANGELOG.md | 2 ++
README.md | 2 +-
component.json | 2 +-
normalize.css | 2 +-
4 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2147977aa..21c1e8c8b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
== HEAD
+== 2.1.1 (April 7, 2013)
+
* Normalize root `color` and `background` to counter the effects of system
color schemes.
diff --git a/README.md b/README.md
index d44161ec7..c7eaba1ca 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# normalize.css v2.1.0
+# normalize.css v2.1.1
Normalize.css is a customisable CSS file that makes browsers render all
elements more consistently and in line with modern standards. We researched the
diff --git a/component.json b/component.json
index a4b271dd5..624623916 100644
--- a/component.json
+++ b/component.json
@@ -1,6 +1,6 @@
{
"name": "normalize-css",
- "version": "2.1.0",
+ "version": "2.1.1",
"author": "Nicolas Gallagher",
"homepage": "http://necolas.github.com/normalize.css/",
"main": "normalize.css",
diff --git a/normalize.css b/normalize.css
index dcf0f82ae..6d24a3853 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
+/*! normalize.css v2.1.1 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
From 920b3ea72ba296d723377eabce59148398aa3e8c Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 7 Apr 2013 18:34:38 -0700
Subject: [PATCH 27/86] Fix typo in CONTRIBUTING.md
---
CONTRIBUTING.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 30ffc0d6f..82bab9a2b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -88,6 +88,7 @@ Please adhere to the coding conventions used throughout a project (whitespace,
accurate comments, etc.) and any other requirements (such as test coverage).
Follow this process if you'd like your work considered for inclusion in the
+project:
1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
and configure the remotes:
From a611f096b53faa508cce66ad172c4a6625e626f9 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 7 Apr 2013 19:41:16 -0700
Subject: [PATCH 28/86] Correct date of 2.1.1 release in CHANGELOG
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21c1e8c8b..d0e9f937c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
== HEAD
-== 2.1.1 (April 7, 2013)
+== 2.1.1 (April 8, 2013)
* Normalize root `color` and `background` to counter the effects of system
color schemes.
From 03c8f449d039c0fa3560bf03e1b4b3de4c5c26b1 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 21 Apr 2013 20:17:09 -0700
Subject: [PATCH 29/86] Change the Bower website URL
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index c7eaba1ca..62ac43cf8 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ the styles that need normalizing.
Download from the [project page](http://necolas.github.io/normalize.css/).
-Install with [Bower](http://twitter.github.io/bower/): `bower install --save normalize-css`
+Install with [Bower](http://bower.io/): `bower install --save normalize-css`
## What does it do?
From c9ff1dd48d822ea1092cba42f82755c71ca31c61 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 7 May 2013 23:33:22 -0700
Subject: [PATCH 30/86] Add Bower manifest file
Ignore files that don't need to be installed.
---
bower.json | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 bower.json
diff --git a/bower.json b/bower.json
new file mode 100644
index 000000000..fb5026bdf
--- /dev/null
+++ b/bower.json
@@ -0,0 +1,12 @@
+{
+ "name": "normalize-css",
+ "version": "2.1.1",
+ "main": "normalize.css",
+ "author": "Nicolas Gallagher",
+ "ignore": [
+ "CHANGELOG.md",
+ "CONTRIBUTING.md",
+ "component.json",
+ "test.html"
+ ]
+}
From 87db01937460a16964d7f1a6c675624c5107448b Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 7 May 2013 23:36:17 -0700
Subject: [PATCH 31/86] Simplify the Component(1) manifest file
---
component.json | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/component.json b/component.json
index 624623916..09ed0c1c0 100644
--- a/component.json
+++ b/component.json
@@ -1,8 +1,6 @@
{
"name": "normalize-css",
"version": "2.1.1",
- "author": "Nicolas Gallagher",
- "homepage": "http://necolas.github.com/normalize.css/",
- "main": "normalize.css",
- "styles": ["normalize.css"]
+ "styles": ["normalize.css"],
+ "author": "Nicolas Gallagher"
}
From 71d6cdc9a85ac70da6d3208e397fcb5b1c0ad960 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 7 May 2013 23:40:22 -0700
Subject: [PATCH 32/86] Revert root color and background normalization
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Commit: 907890983eb2d6667e4b9cbd8bd03ead4b077e34
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 d0e9f937c..41055ffa2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/normalize.css b/normalize.css
index 6d24a3853..e39087d3c 100644
--- a/normalize.css
+++ b/normalize.css
@@ -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 */
}
/**
From f74e43083330faa9d6b8b223a8b60f12d32d8da2 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sat, 11 May 2013 13:51:45 -0700
Subject: [PATCH 33/86] Add `bower.json` to release instructions
---
CONTRIBUTING.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 82bab9a2b..4c526bb08 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -169,8 +169,8 @@ cutting new releases.
1. Include all new functional changes in the CHANGELOG.
2. Use a dedicated commit to increment the version. The version needs to be
- added to the CHANGELOG (inc. date), and edited in the README,
- `component.json`, and `normalize.css` files.
+ added to the CHANGELOG (inc. date), and the `bower.json`, `component.json`,
+ and `normalize.css` files.
3. The commit message must be of `v0.0.0` format.
4. Create an annotated tag for the version: `git tag -m "v0.0.0" v0.0.0`.
5. Push the changes and tags to GitHub: `git push --tags origin master`
From 56af2b11703dd9e8819ae725ee67192a4b55a48c Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sat, 11 May 2013 13:59:52 -0700
Subject: [PATCH 34/86] v2.1.2
---
CHANGELOG.md | 2 ++
README.md | 4 ++--
bower.json | 2 +-
component.json | 2 +-
normalize.css | 2 +-
5 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 41055ffa2..0ca7cdfcf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
== HEAD
+== 2.1.2 (May 11, 2013)
+
* Revert root `color` and `background` normalizations.
== 2.1.1 (April 8, 2013)
diff --git a/README.md b/README.md
index 62ac43cf8..87b60ea55 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# normalize.css v2.1.1
+# normalize.css v2
Normalize.css is a customisable CSS file that makes browsers render all
elements more consistently and in line with modern standards. We researched the
differences between default browser styles in order to precisely target only
the styles that need normalizing.
-[Check out the demo](http://necolas.github.io/normalize.css/2.1.0/test.html)
+[Check out the demo](http://necolas.github.io/normalize.css/latest/test.html)
[Legacy browser support is available in v1](https://github.com/necolas/normalize.css/tree/v1)
diff --git a/bower.json b/bower.json
index fb5026bdf..c96b7cd34 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "normalize-css",
- "version": "2.1.1",
+ "version": "2.1.2",
"main": "normalize.css",
"author": "Nicolas Gallagher",
"ignore": [
diff --git a/component.json b/component.json
index 09ed0c1c0..41e4d0ba0 100644
--- a/component.json
+++ b/component.json
@@ -1,6 +1,6 @@
{
"name": "normalize-css",
- "version": "2.1.1",
+ "version": "2.1.2",
"styles": ["normalize.css"],
"author": "Nicolas Gallagher"
}
diff --git a/normalize.css b/normalize.css
index e39087d3c..6adf56e79 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css v2.1.1 | MIT License | git.io/normalize */
+/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
From 37b483c1e1f0a11f3734c86410d051a31378a512 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 1 Jul 2013 23:42:37 -0700
Subject: [PATCH 35/86] Fix IE 10 active link background color
Remove the gray background color from active links in IE 10.
Fix gh-172
---
CHANGELOG.md | 2 ++
normalize.css | 8 ++++++++
2 files changed, 10 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0ca7cdfcf..98c6a9b54 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
== HEAD
+* Remove the gray background color from active links in IE 10.
+
== 2.1.2 (May 11, 2013)
* Revert root `color` and `background` normalizations.
diff --git a/normalize.css b/normalize.css
index 6adf56e79..8b977e137 100644
--- a/normalize.css
+++ b/normalize.css
@@ -79,6 +79,14 @@ body {
Links
========================================================================== */
+/**
+ * Remove the gray background color from active links in IE 10.
+ */
+
+a {
+ background: transparent;
+}
+
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
From 77982e20d82421b4303a5eee4afa224ea371e978 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 1 Jul 2013 23:54:45 -0700
Subject: [PATCH 36/86] Normalize the `template` element display
The `template` element shipped in Firefox 22 and Chrome 26. Browsers
without HTML template support should at least hide the element.
---
normalize.css | 6 ++++--
test.html | 6 ++++++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/normalize.css b/normalize.css
index 8b977e137..5e79cf07c 100644
--- a/normalize.css
+++ b/normalize.css
@@ -44,10 +44,12 @@ audio:not([controls]) {
}
/**
- * Address styling not present in IE 8/9.
+ * Address `[hidden]` styling not present in IE 8/9.
+ * Hide the `template` element in IE, Safari, and Firefox < 22.
*/
-[hidden] {
+[hidden],
+template {
display: none;
}
diff --git a/test.html b/test.html
index d7103c49b..d610c3173 100644
--- a/test.html
+++ b/test.html
@@ -96,6 +96,12 @@ Text-level semantics
The var element example
+ Template content
+
+ {{title}}
+
+
+
Embedded content
audio
From 0050384c0b108ed5e7066da5ff52f54ef88e1f66 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Thu, 15 Aug 2013 19:46:33 -0700
Subject: [PATCH 37/86] README: change guidance and demphasise v1
* Recommend that normalize.css is used as library code (i.e., not
modified).
* Add a note that v1 is no longer actively developed.
---
README.md | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 87b60ea55..40acfd1b4 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,13 @@
# normalize.css v2
Normalize.css is a customisable CSS file that makes browsers render all
-elements more consistently and in line with modern standards. We researched the
-differences between default browser styles in order to precisely target only
-the styles that need normalizing.
+elements more consistently and in line with modern standards.
-[Check out the demo](http://necolas.github.io/normalize.css/latest/test.html)
+The project relies on researching the differences between default browser
+styles in order to precisely target only the styles that need or benefit from
+normalizing.
-[Legacy browser support is available in v1](https://github.com/necolas/normalize.css/tree/v1)
+[Check out the demo](http://necolas.github.io/normalize.css/latest/test.html)
## Install
@@ -25,11 +25,10 @@ Install with [Bower](http://bower.io/): `bower install --save normalize-css`
## How to use it
-Normalize.css is intended to be used as an alternative to CSS resets.
+No other styles should come before Normalize.css.
-It's suggested that you read the `normalize.css` file and consider customising
-it to meet your needs. Alternatively, include the file in your project and
-override the defaults later in your CSS.
+It is recommended that you include the `normalize.css` file as untouched
+library code.
## Browser support
@@ -39,7 +38,11 @@ override the defaults later in your CSS.
* Opera 12+
* Internet Explorer 8+
-## Contribute
+[Normalize.css v1 provides legacy browser
+support](https://github.com/necolas/normalize.css/tree/v1) (IE 6+, Safari 4+),
+but is no longer actively developed.
+
+## Contributing
Please read the CONTRIBUTING.md
From 3e12409c6111299b32bb64584f7a5f9a4dd5a86a Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Thu, 15 Aug 2013 21:52:25 -0700
Subject: [PATCH 38/86] Add Component(1) install instructions
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index 40acfd1b4..273482726 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,8 @@ Download from the [project page](http://necolas.github.io/normalize.css/).
Install with [Bower](http://bower.io/): `bower install --save normalize-css`
+Install with [Component(1)](http://component.io/): `component install necolas/normalize.css`
+
## What does it do?
* Preserves useful defaults, unlike many CSS resets.
From 9709e680d02c58c9265173e71fbf2be3e2e8e1ff Mon Sep 17 00:00:00 2001
From: Ricky de Laveaga
Date: Mon, 5 Aug 2013 10:04:57 -0700
Subject: [PATCH 39/86] Fix incorrect closing tag in `test.html`
---
test.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test.html b/test.html
index d610c3173..c90099163 100644
--- a/test.html
+++ b/test.html
@@ -98,7 +98,7 @@ Text-level semantics
Template content
- {{title}}
+ {{title}}
From 5d4ef1c56fe6e29399f8e2bf31f39ed6c6a11bd3 Mon Sep 17 00:00:00 2001
From: Kalifriki
Date: Mon, 15 Apr 2013 20:47:25 +0400
Subject: [PATCH 40/86] Add IE 10 to checkbox/radio normalization comments
---
normalize.css | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/normalize.css b/normalize.css
index 5e79cf07c..1fd276a0e 100644
--- a/normalize.css
+++ b/normalize.css
@@ -339,8 +339,8 @@ html input[disabled] {
}
/**
- * 1. Address box sizing set to `content-box` in IE 8/9.
- * 2. Remove excess padding in IE 8/9.
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
+ * 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
From 690f8abb195fcdb4b4f910f3e7f23b88bdffb01d Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 26 Aug 2013 11:34:21 -0700
Subject: [PATCH 41/86] Fix component.json
The Component(1) spec was updated to require a `repo` property.
---
component.json | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/component.json b/component.json
index 41e4d0ba0..bd42e8551 100644
--- a/component.json
+++ b/component.json
@@ -1,6 +1,8 @@
{
"name": "normalize-css",
+ "repo": "necolas/normalize.css",
"version": "2.1.2",
"styles": ["normalize.css"],
- "author": "Nicolas Gallagher"
+ "author": "Nicolas Gallagher",
+ "license": "MIT"
}
From 4925d9b50807c784abac0f73290e60a28322376b Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 26 Aug 2013 11:36:05 -0700
Subject: [PATCH 42/86] Update CHANGELOG
---
CHANGELOG.md | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 98c6a9b54..ac5828314 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,17 +1,18 @@
-== HEAD
+=== HEAD
+* Fix component.json.
* Remove the gray background color from active links in IE 10.
-== 2.1.2 (May 11, 2013)
+=== 2.1.2 (May 11, 2013)
* Revert root `color` and `background` normalizations.
-== 2.1.1 (April 8, 2013)
+=== 2.1.1 (April 8, 2013)
* Normalize root `color` and `background` to counter the effects of system
color schemes.
-== 2.1.0 (January 21, 2013)
+=== 2.1.0 (January 21, 2013)
* Normalize `text-transform` for `button` and `select`.
* Normalize `h1` margin when within HTML5 sectioning elements.
@@ -20,11 +21,11 @@
* Add `main` element to HTML5 display definitions.
* Fix cursor style for disabled button `input`.
-== 2.0.1 (August 20, 2012)
+=== 2.0.1 (August 20, 2012)
* Remove stray IE 6/7 `inline-block` hack from HTML5 display settings.
-== 2.0.0 (August 19, 2012)
+=== 2.0.0 (August 19, 2012)
* Remove legacy browser form normalizations.
* Remove all list normalizations.
@@ -33,11 +34,11 @@
* Form elements automatically inherit `font-family` from ancestor.
* Drop support for IE 6/7, Firefox < 4, and Safari < 5.
-== 1.0.1 (August 19, 2012)
+=== 1.0.1 (August 19, 2012)
* Adjust `small` font size normalization.
-== 1.0.0 (August 14, 2012)
+=== 1.0.0 (August 14, 2012)
(Only the notable changes since public release)
From dafaf9ee60ff76173954aca755c78a6912a0ee6c Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Mon, 26 Aug 2013 11:37:18 -0700
Subject: [PATCH 43/86] v2.1.3
---
CHANGELOG.md | 2 ++
bower.json | 2 +-
component.json | 2 +-
normalize.css | 2 +-
4 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ac5828314..86d0d1df5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
=== HEAD
+=== 2.1.3 (August 26, 2013)
+
* Fix component.json.
* Remove the gray background color from active links in IE 10.
diff --git a/bower.json b/bower.json
index c96b7cd34..6e5e4b758 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "normalize-css",
- "version": "2.1.2",
+ "version": "2.1.3",
"main": "normalize.css",
"author": "Nicolas Gallagher",
"ignore": [
diff --git a/component.json b/component.json
index bd42e8551..1310efffd 100644
--- a/component.json
+++ b/component.json
@@ -1,7 +1,7 @@
{
"name": "normalize-css",
"repo": "necolas/normalize.css",
- "version": "2.1.2",
+ "version": "2.1.3",
"styles": ["normalize.css"],
"author": "Nicolas Gallagher",
"license": "MIT"
diff --git a/normalize.css b/normalize.css
index 1fd276a0e..c2de8df94 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
+/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
From 6992935807a5ed7ec60fb97e3f9fd02cc102a110 Mon Sep 17 00:00:00 2001
From: thoppe
Date: Sun, 12 Jan 2014 12:56:12 +0100
Subject: [PATCH 44/86] Fix fieldset width in Chrome and Firefox
Fixes an issue in Firefox [1] and Chrome [2]. The implicit width of
`fieldset` can be determined by the width of descendants rather than the
parent container. This change (adding `min-width:0`) makes the
`fieldset` behave like a `div` in this regard.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=504622
[2] http://stackoverflow.com/questions/8084343/google-chrome-fieldset-overflow-bug
Close #272
---
normalize.css | 10 ++++++----
test.html | 7 +++++++
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/normalize.css b/normalize.css
index c2de8df94..a892722c5 100644
--- a/normalize.css
+++ b/normalize.css
@@ -257,13 +257,15 @@ figure {
========================================================================== */
/**
- * Define consistent border, margin, and padding.
+ * 1. Define consistent border, margin, and padding.
+ * 2. Address width being affected by wide descendants in Chrome and Firefox.
*/
fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
+ border: 1px solid #c0c0c0; /* 1 */
+ margin: 0 2px; /* 1 */
+ min-width: 0; /* 2 */
+ padding: 0.35em 0.625em 0.75em; /* 1 */
}
/**
diff --git a/test.html b/test.html
index c90099163..ab9a79b7d 100644
--- a/test.html
+++ b/test.html
@@ -268,6 +268,13 @@ Tabular data
Forms