From c9ff1dd48d822ea1092cba42f82755c71ca31c61 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 7 May 2013 23:33:22 -0700
Subject: [PATCH 001/153] 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 002/153] 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 003/153] 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 004/153] 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 005/153] 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 006/153] 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 007/153] 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 008/153] 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 009/153] 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 010/153] 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 011/153] 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 012/153] 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 013/153] 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 014/153] 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 015/153] 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 @@