From 79b3d21b697e94675d748cd9d42409b83318d2b5 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sat, 7 Jul 2012 09:58:40 +0100
Subject: [PATCH 001/196] Reintroduce fix for WebKit audio/video control bug
This fix was first introduced to deal with Chrome < 13 destroying the
appearance of native `audio` and `video` button controls when
`-webkit-appearance` is set on `input[type="button"]`. See #20
Android 4.0.* seems to use a version of WebKit that contains this bug.
See: https://github.com/h5bp/mobile-boilerplate/issues/121
...so the fix needs to be reintroduced.
---
normalize.css | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/normalize.css b/normalize.css
index 4474dee25..f9b4e853c 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
+/*! normalize.css 2012-07-07T08:58 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
HTML5 display definitions
@@ -408,19 +408,22 @@ input {
}
/*
- * 1. Improves usability and consistency of cursor style between image-type 'input' and others
+ * 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. Removes inner spacing in IE7 without affecting normal text inputs
+ * 3. Improves usability and consistency of cursor style between image-type
+ * 'input' and others
+ * 4. Removes inner spacing in IE7 without affecting normal text inputs
* Known issue: inner spacing remains in IE6
*/
button,
-input[type="button"],
+html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
- cursor: pointer; /* 1 */
-webkit-appearance: button; /* 2 */
- *overflow: visible; /* 3 */
+ cursor: pointer; /* 3 */
+ *overflow: visible; /* 4 */
}
/*
From 93beaa2e949ccdacf6ff00aaceca541b815e1f14 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sat, 7 Jul 2012 10:49:39 +0100
Subject: [PATCH 002/196] Minor consistency adjustments
Normalize comments and ordering.
---
normalize.css | 141 +++++++++++++++++++++++++-------------------------
1 file changed, 71 insertions(+), 70 deletions(-)
diff --git a/normalize.css b/normalize.css
index f9b4e853c..1f0d5c449 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,11 +1,11 @@
-/*! normalize.css 2012-07-07T08:58 UTC - http://github.com/necolas/normalize.css */
+/*! normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
HTML5 display definitions
========================================================================== */
/*
- * Corrects block display not defined in IE6/7/8/9 & FF3
+ * Corrects `block` display not defined in IE6/7/8/9 & FF3.
*/
article,
@@ -23,7 +23,7 @@ summary {
}
/*
- * Corrects inline-block display not defined in IE6/7/8/9 & FF3
+ * Corrects `inline-block` display not defined in IE6/7/8/9 & FF3.
*/
audio,
@@ -35,8 +35,8 @@ video {
}
/*
- * Prevents modern browsers from displaying 'audio' without controls
- * Remove excess height in iOS5 devices
+ * Prevents modern browsers from displaying `audio` without controls.
+ * Remove excess height in iOS5 devices.
*/
audio:not([controls]) {
@@ -45,8 +45,8 @@ audio:not([controls]) {
}
/*
- * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
- * Known issue: no IE6 support
+ * Addresses styling for `hidden` attribute not present in IE7/8/9, FF3, S4.
+ * Known issue: no IE6 support.
*/
[hidden] {
@@ -59,10 +59,10 @@ audio:not([controls]) {
========================================================================== */
/*
- * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
- * http://clagnut.com/blog/348/#c790
- * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
- * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
+ * 1. Corrects text resizing oddly in IE6/7 when body `font-size` is set using
+ * `em` units.
+ * 2. Prevents iOS text size adjust after orientation change, without disabling
+ * user zoom.
*/
html {
@@ -72,7 +72,8 @@ html {
}
/*
- * Addresses font-family inconsistency between 'textarea' and other form elements.
+ * Addresses `font-family` inconsistency between `textarea` and other form
+ * elements.
*/
html,
@@ -84,7 +85,7 @@ textarea {
}
/*
- * Addresses margins handled incorrectly in IE6/7
+ * Addresses margins handled incorrectly in IE6/7.
*/
body {
@@ -97,7 +98,7 @@ body {
========================================================================== */
/*
- * Addresses outline displayed oddly in Chrome
+ * Addresses `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
@@ -105,12 +106,12 @@ a:focus {
}
/*
- * Improves readability when focused and also mouse hovered in all browsers
+ * Improves readability when focused and also mouse hovered in all browsers.
* people.opera.com/patrickl/experiments/keyboard/test
*/
-a:hover,
-a:active {
+a:active,
+a:hover {
outline: 0;
}
@@ -120,8 +121,8 @@ a:active {
========================================================================== */
/*
- * Addresses font sizes and margins set differently in IE6/7
- * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
+ * Addresses font sizes and margins set differently in IE6/7.
+ * Addresses font sizes within `section` and `article` in FF4+, Chrome, S5.
*/
h1 {
@@ -155,7 +156,7 @@ h6 {
}
/*
- * Addresses styling not present in IE7/8/9, S5, Chrome
+ * Addresses styling not present in IE7/8/9, S5, Chrome.
*/
abbr[title] {
@@ -163,8 +164,8 @@ abbr[title] {
}
/*
- * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
-*/
+ * Addresses style set to `bolder` in FF3+, S4/5, Chrome.
+ */
b,
strong {
@@ -176,7 +177,7 @@ blockquote {
}
/*
- * Addresses styling not present in S5, Chrome
+ * Addresses styling not present in S5, Chrome.
*/
dfn {
@@ -184,7 +185,7 @@ dfn {
}
/*
- * Addresses styling not present in IE6/7/8/9
+ * Addresses styling not present in IE6/7/8/9.
*/
mark {
@@ -193,7 +194,7 @@ mark {
}
/*
- * Addresses margins set differently in IE6/7
+ * Addresses margins set differently in IE6/7.
*/
p,
@@ -202,13 +203,13 @@ pre {
}
/*
- * Corrects font family set oddly in IE6, S4/5, Chrome
+ * Corrects font family set oddly in IE6, S4/5, Chrome.
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
*/
-pre,
code,
kbd,
+pre,
samp {
font-family: monospace, serif;
_font-family: 'courier new', monospace;
@@ -216,7 +217,7 @@ samp {
}
/*
- * Improves readability of pre-formatted text in all browsers
+ * Improves readability of pre-formatted text in all browsers.
*/
pre {
@@ -226,17 +227,16 @@ pre {
}
/*
- * 1. Addresses CSS quotes not supported in IE6/7
- * 2. Addresses quote property not supported in S4
+ * Addresses CSS quotes not supported in IE6/7.
*/
-/* 1 */
-
q {
quotes: none;
}
-/* 2 */
+/*
+ * Addresses `quotes` property not supported in S4.
+ */
q:before,
q:after {
@@ -249,7 +249,7 @@ small {
}
/*
- * Prevents sub and sup affecting line-height in all browsers
+ * Prevents `sub` and `sup` affecting `line-height` in all browsers.
* gist.github.com/413930
*/
@@ -275,7 +275,7 @@ sub {
========================================================================== */
/*
- * Addresses margins set differently in IE6/7
+ * Addresses margins set differently in IE6/7.
*/
dl,
@@ -290,7 +290,7 @@ dd {
}
/*
- * Addresses paddings set differently in IE6/7
+ * Addresses paddings set differently in IE6/7.
*/
menu,
@@ -300,7 +300,7 @@ ul {
}
/*
- * Corrects list images handled incorrectly in IE7
+ * Corrects list images handled incorrectly in IE7.
*/
nav ul,
@@ -315,8 +315,8 @@ nav ol {
========================================================================== */
/*
- * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
- * 2. Improves image quality when scaled in IE7
+ * 1. Removes border when inside `a` element in IE6/7/8/9, FF3.
+ * 2. Improves image quality when scaled in IE7.
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
*/
@@ -326,7 +326,7 @@ img {
}
/*
- * Corrects overflow displayed oddly in IE9
+ * Corrects overflow displayed oddly in IE9.
*/
svg:not(:root) {
@@ -339,7 +339,7 @@ svg:not(:root) {
========================================================================== */
/*
- * Addresses margin not present in IE6/7/8/9, S5, O11
+ * Addresses margin not present in IE6/7/8/9, S5, O11.
*/
figure {
@@ -352,7 +352,7 @@ figure {
========================================================================== */
/*
- * Corrects margin displayed oddly in IE6/7
+ * Corrects margin displayed oddly in IE6/7.
*/
form {
@@ -360,7 +360,7 @@ form {
}
/*
- * Define consistent border, margin, and padding
+ * Define consistent border, margin, and padding.
*/
fieldset {
@@ -370,9 +370,9 @@ fieldset {
}
/*
- * 1. Corrects color not being inherited in IE6/7/8/9
- * 2. Corrects text not wrapping in FF3
- * 3. Corrects alignment displayed oddly in IE6/7
+ * 1. Corrects color not being inherited in IE6/7/8/9.
+ * 2. Corrects text not wrapping in FF3.
+ * 3. Corrects alignment displayed oddly in IE6/7.
*/
legend {
@@ -383,9 +383,9 @@ legend {
}
/*
- * 1. Corrects font size not being inherited in all browsers
- * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
- * 3. Improves appearance and consistency in all browsers
+ * 1. Corrects font size not being inherited in all browsers.
+ * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome.
+ * 3. Improves appearance and consistency in all browsers.
*/
button,
@@ -399,7 +399,8 @@ textarea {
}
/*
- * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
+ * Addresses FF3/4 setting `line-height` on `input` using `!important` in the
+ * UA stylesheet.
*/
button,
@@ -409,12 +410,12 @@ input {
/*
* 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
+ * and `video` controls.
+ * 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 IE7 without affecting normal text inputs
- * Known issue: inner spacing remains in IE6
+ * `input` and others.
+ * 4. Removes inner spacing in IE7 without affecting normal text inputs.
+ * Known issue: inner spacing remains in IE6.
*/
button,
@@ -427,7 +428,7 @@ input[type="submit"] {
}
/*
- * Re-set default cursor for disabled elements
+ * Re-set default cursor for disabled elements.
*/
button[disabled],
@@ -436,10 +437,10 @@ input[disabled] {
}
/*
- * 1. Addresses box sizing set to content-box in IE8/9
- * 2. Removes excess padding in IE8/9
- * 3. Removes excess padding in IE7
- Known issue: excess padding remains in IE6
+ * 1. Addresses box sizing set to content-box in IE8/9.
+ * 2. Removes excess padding in IE8/9.
+ * 3. Removes excess padding in IE7.
+ * Known issue: excess padding remains in IE6.
*/
input[type="checkbox"],
@@ -451,8 +452,9 @@ input[type="radio"] {
}
/*
- * 1. Addresses appearance set to searchfield in S5, Chrome
- * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
+ * 1. Addresses `appearance` set to `searchfield` in S5, Chrome.
+ * 2. Addresses `box-sizing` set to `border-box` in S5, Chrome (include `-moz`
+ * to future-proof).
*/
input[type="search"] {
@@ -463,17 +465,16 @@ input[type="search"] {
}
/*
- * Removes inner padding and search cancel button in S5, Chrome on OS X
+ * Removes inner padding and search cancel button in S5, Chrome on OS X.
*/
-input[type="search"]::-webkit-search-decoration,
-input[type="search"]::-webkit-search-cancel-button {
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/*
- * Removes inner padding and border in FF3+
- * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
+ * Removes inner padding and border in FF3+.
*/
button::-moz-focus-inner,
@@ -483,8 +484,8 @@ input::-moz-focus-inner {
}
/*
- * 1. Removes default vertical scrollbar in IE6/7/8/9
- * 2. Improves readability and alignment in all browsers
+ * 1. Removes default vertical scrollbar in IE6/7/8/9.
+ * 2. Improves readability and alignment in all browsers.
*/
textarea {
@@ -498,7 +499,7 @@ textarea {
========================================================================== */
/*
- * Remove most spacing between table cells
+ * Remove most spacing between table cells.
*/
table {
From 6de1f055d654643dd074e3c166f7ec5089c7d2e6 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sat, 7 Jul 2012 11:29:23 +0100
Subject: [PATCH 003/196] Remove .gitignore
---
.gitignore | 4 ----
1 file changed, 4 deletions(-)
delete mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 974a733b4..000000000
--- a/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-.DS_Store
-*.orig
-*.swo
-*.swp
From b7579700ead7f94ddb07687e0ec8fbf8efc4ad93 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 8 Jul 2012 23:43:00 +0100
Subject: [PATCH 004/196] Minor copy and comment adjustments
---
README.md | 19 +++++++++++--------
demo.html | 2 +-
normalize.css | 28 ++++++++++------------------
3 files changed, 22 insertions(+), 27 deletions(-)
diff --git a/README.md b/README.md
index 5569bc8a0..6a24ef447 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,10 @@
normalize.css
=============
-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.
+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/demo.html)
@@ -19,11 +22,9 @@ How to use it
Normalize.css is intended to be used as an alternative to CSS resets.
-It is suggested that you read through the `normalize.css` file and customise it to meet the design requirements of a project rather including it as a "black box".
-
-If you prefer to use a different CSS formatting style, consider using a tool like [Procssor](http://procssor.com/).
-
-If you would like to minify the file, you can use a tool like this [online CSS compressor using YUI Compressor](http://www.refresh-sf.com/yui/) or perform the minification as part of your build process.
+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.
Browser support
-----------
@@ -37,7 +38,8 @@ Browser support
Contribute
-----------
-Please read the Wiki entry on [contributing to Normalize.css](https://github.com/necolas/normalize.css/wiki/contribute)
+Please read my [issue
+guidelines](https://github.com/necolas/issue-guidelines).
License
-----------
@@ -47,4 +49,5 @@ Public domain
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](http://github.com/necolas)
+and [Jonathan Neal](http://github.com/jonathantneal).
diff --git a/demo.html b/demo.html
index c75e4b96e..016f9af25 100644
--- a/demo.html
+++ b/demo.html
@@ -328,7 +328,7 @@
Forms
-
+
diff --git a/normalize.css b/normalize.css
index 1f0d5c449..8fa27e0ba 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,6 +1,6 @@
/*! normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
-/* =============================================================================
+/* ==========================================================================
HTML5 display definitions
========================================================================== */
@@ -53,8 +53,7 @@ audio:not([controls]) {
display: none;
}
-
-/* =============================================================================
+/* ==========================================================================
Base
========================================================================== */
@@ -92,8 +91,7 @@ body {
margin: 0;
}
-
-/* =============================================================================
+/* ==========================================================================
Links
========================================================================== */
@@ -115,8 +113,7 @@ a:hover {
outline: 0;
}
-
-/* =============================================================================
+/* ==========================================================================
Typography
========================================================================== */
@@ -269,8 +266,7 @@ sub {
bottom: -0.25em;
}
-
-/* =============================================================================
+/* ==========================================================================
Lists
========================================================================== */
@@ -309,8 +305,7 @@ nav ol {
list-style-image: none;
}
-
-/* =============================================================================
+/* ==========================================================================
Embedded content
========================================================================== */
@@ -333,8 +328,7 @@ svg:not(:root) {
overflow: hidden;
}
-
-/* =============================================================================
+/* ==========================================================================
Figures
========================================================================== */
@@ -346,8 +340,7 @@ figure {
margin: 0;
}
-
-/* =============================================================================
+/* ==========================================================================
Forms
========================================================================== */
@@ -405,7 +398,7 @@ textarea {
button,
input {
- line-height: normal; /* 1 */
+ line-height: normal;
}
/*
@@ -493,8 +486,7 @@ textarea {
vertical-align: top; /* 2 */
}
-
-/* =============================================================================
+/* ==========================================================================
Tables
========================================================================== */
From 31f72b55beef89e08c27521211bcac2724c56237 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 7 Aug 2012 22:27:32 +0100
Subject: [PATCH 005/196] Add MIT License
---
LICENSE | 19 +++++++++++++++++++
README.md | 23 ++++++-----------------
normalize.css | 2 +-
3 files changed, 26 insertions(+), 18 deletions(-)
create mode 100644 LICENSE
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000..c6bcc9bf2
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) Nicolas Gallagher and Jonathan Neal
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
index 6a24ef447..972bdc935 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,4 @@
-normalize.css
-=============
+# normalize.css
Normalize.css is a customisable CSS file that makes browsers render all
elements more consistently and in line with modern standards. We researched the
@@ -8,8 +7,7 @@ the styles that need normalizing.
[Check out the demo](http://necolas.github.com/normalize.css/demo.html)
-What does it do?
------------
+## What does it do?
* Preserves useful defaults, unlike many CSS resets.
* Normalizes styles for a wide range of elements.
@@ -17,8 +15,7 @@ What does it do?
* Improves usability with subtle improvements.
* Explains what code does using detailed comments.
-How to use it
------------
+## How to use it
Normalize.css is intended to be used as an alternative to CSS resets.
@@ -26,8 +23,7 @@ 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.
-Browser support
------------
+## Browser support
* Google Chrome
* Mozilla Firefox 3+
@@ -35,19 +31,12 @@ Browser support
* Opera 10+
* Internet Explorer 6+
-Contribute
------------
+## Contribute
Please read my [issue
guidelines](https://github.com/necolas/issue-guidelines).
-License
------------
-
-Public domain
-
-Acknowledgements
-------------
+## Acknowledgements
Normalize.css is a project by [Nicolas Gallagher](http://github.com/necolas)
and [Jonathan Neal](http://github.com/jonathantneal).
diff --git a/normalize.css b/normalize.css
index 8fa27e0ba..f5df87f8f 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
+/*! normalize.css 2012-08-07T21:27 UTC | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
From ddf924369df366802ceef1ef750a721618a8cf82 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 14 Aug 2012 23:30:47 +0100
Subject: [PATCH 006/196] Rename LICENSE to LICENSE.md
---
LICENSE => LICENSE.md | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename LICENSE => LICENSE.md (100%)
diff --git a/LICENSE b/LICENSE.md
similarity index 100%
rename from LICENSE
rename to LICENSE.md
From 4ed3786354f4a15884a3a391ab9a9cd681529ed0 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 14 Aug 2012 23:32:24 +0100
Subject: [PATCH 007/196] Rename demo.html to test.html
---
README.md | 2 +-
demo.html => test.html | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename demo.html => test.html (100%)
diff --git a/README.md b/README.md
index 972bdc935..c484a8405 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ 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/demo.html)
+[Check out the demo](http://necolas.github.com/normalize.css/test.html)
## What does it do?
diff --git a/demo.html b/test.html
similarity index 100%
rename from demo.html
rename to test.html
From f52da7461fc69c97f2417239bc6c8fdef58090e4 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 14 Aug 2012 23:35:20 +0100
Subject: [PATCH 008/196] Update CSS comment wording
---
normalize.css | 94 +++++++++++++++++++++++++--------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
diff --git a/normalize.css b/normalize.css
index f5df87f8f..75ebb2f8e 100644
--- a/normalize.css
+++ b/normalize.css
@@ -5,7 +5,7 @@
========================================================================== */
/*
- * Corrects `block` display not defined in IE6/7/8/9 & FF3.
+ * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
article,
@@ -23,7 +23,7 @@ summary {
}
/*
- * Corrects `inline-block` display not defined in IE6/7/8/9 & FF3.
+ * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
audio,
@@ -36,7 +36,7 @@ video {
/*
* Prevents modern browsers from displaying `audio` without controls.
- * Remove excess height in iOS5 devices.
+ * Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
@@ -45,8 +45,9 @@ audio:not([controls]) {
}
/*
- * Addresses styling for `hidden` attribute not present in IE7/8/9, FF3, S4.
- * Known issue: no IE6 support.
+ * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3,
+ * and Safari 4.
+ * Known issue: no IE 6 support.
*/
[hidden] {
@@ -58,7 +59,7 @@ audio:not([controls]) {
========================================================================== */
/*
- * 1. Corrects text resizing oddly in IE6/7 when body `font-size` is set using
+ * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
* `em` units.
* 2. Prevents iOS text size adjust after orientation change, without disabling
* user zoom.
@@ -84,7 +85,7 @@ textarea {
}
/*
- * Addresses margins handled incorrectly in IE6/7.
+ * Addresses margins handled incorrectly in IE 6/7.
*/
body {
@@ -105,7 +106,6 @@ a:focus {
/*
* Improves readability when focused and also mouse hovered in all browsers.
- * people.opera.com/patrickl/experiments/keyboard/test
*/
a:active,
@@ -118,8 +118,9 @@ a:hover {
========================================================================== */
/*
- * Addresses font sizes and margins set differently in IE6/7.
- * Addresses font sizes within `section` and `article` in FF4+, Chrome, S5.
+ * 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.
*/
h1 {
@@ -153,7 +154,7 @@ h6 {
}
/*
- * Addresses styling not present in IE7/8/9, S5, Chrome.
+ * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome.
*/
abbr[title] {
@@ -161,7 +162,7 @@ abbr[title] {
}
/*
- * Addresses style set to `bolder` in FF3+, S4/5, Chrome.
+ * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
*/
b,
@@ -174,7 +175,7 @@ blockquote {
}
/*
- * Addresses styling not present in S5, Chrome.
+ * Addresses styling not present in Safari 5 and Chrome.
*/
dfn {
@@ -182,7 +183,7 @@ dfn {
}
/*
- * Addresses styling not present in IE6/7/8/9.
+ * Addresses styling not present in IE 6/7/8/9.
*/
mark {
@@ -191,7 +192,7 @@ mark {
}
/*
- * Addresses margins set differently in IE6/7.
+ * Addresses margins set differently in IE 6/7.
*/
p,
@@ -200,8 +201,7 @@ pre {
}
/*
- * Corrects font family set oddly in IE6, S4/5, Chrome.
- * en.wikipedia.org/wiki/User:Davidgothberg/Test59
+ * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome.
*/
code,
@@ -224,7 +224,7 @@ pre {
}
/*
- * Addresses CSS quotes not supported in IE6/7.
+ * Addresses CSS quotes not supported in IE 6/7.
*/
q {
@@ -232,7 +232,7 @@ q {
}
/*
- * Addresses `quotes` property not supported in S4.
+ * Addresses `quotes` property not supported in Safari 4.
*/
q:before,
@@ -247,7 +247,6 @@ small {
/*
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
- * gist.github.com/413930
*/
sub,
@@ -271,7 +270,7 @@ sub {
========================================================================== */
/*
- * Addresses margins set differently in IE6/7.
+ * Addresses margins set differently in IE 6/7.
*/
dl,
@@ -286,7 +285,7 @@ dd {
}
/*
- * Addresses paddings set differently in IE6/7.
+ * Addresses paddings set differently in IE 6/7.
*/
menu,
@@ -296,7 +295,7 @@ ul {
}
/*
- * Corrects list images handled incorrectly in IE7.
+ * Corrects list images handled incorrectly in IE 7.
*/
nav ul,
@@ -310,9 +309,8 @@ nav ol {
========================================================================== */
/*
- * 1. Removes border when inside `a` element in IE6/7/8/9, FF3.
- * 2. Improves image quality when scaled in IE7.
- * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
+ * 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.
*/
img {
@@ -321,7 +319,7 @@ img {
}
/*
- * Corrects overflow displayed oddly in IE9.
+ * Corrects overflow displayed oddly in IE 9.
*/
svg:not(:root) {
@@ -333,7 +331,7 @@ svg:not(:root) {
========================================================================== */
/*
- * Addresses margin not present in IE6/7/8/9, S5, O11.
+ * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
*/
figure {
@@ -345,7 +343,7 @@ figure {
========================================================================== */
/*
- * Corrects margin displayed oddly in IE6/7.
+ * Corrects margin displayed oddly in IE 6/7.
*/
form {
@@ -363,9 +361,9 @@ fieldset {
}
/*
- * 1. Corrects color not being inherited in IE6/7/8/9.
- * 2. Corrects text not wrapping in FF3.
- * 3. Corrects alignment displayed oddly in IE6/7.
+ * 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.
*/
legend {
@@ -377,7 +375,8 @@ legend {
/*
* 1. Corrects font size not being inherited in all browsers.
- * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome.
+ * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
+ * and Chrome.
* 3. Improves appearance and consistency in all browsers.
*/
@@ -392,8 +391,8 @@ textarea {
}
/*
- * Addresses FF3/4 setting `line-height` on `input` using `!important` in the
- * UA stylesheet.
+ * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
+ * the UA stylesheet.
*/
button,
@@ -407,8 +406,8 @@ 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 IE7 without affecting normal text inputs.
- * Known issue: inner spacing remains in IE6.
+ * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
+ * Known issue: inner spacing remains in IE 6.
*/
button,
@@ -430,10 +429,10 @@ input[disabled] {
}
/*
- * 1. Addresses box sizing set to content-box in IE8/9.
- * 2. Removes excess padding in IE8/9.
- * 3. Removes excess padding in IE7.
- * Known issue: excess padding remains in IE6.
+ * 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"],
@@ -445,9 +444,9 @@ input[type="radio"] {
}
/*
- * 1. Addresses `appearance` set to `searchfield` in S5, Chrome.
- * 2. Addresses `box-sizing` set to `border-box` in S5, Chrome (include `-moz`
- * to future-proof).
+ * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
+ * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
+ * (include `-moz` to future-proof).
*/
input[type="search"] {
@@ -458,7 +457,8 @@ input[type="search"] {
}
/*
- * Removes inner padding and search cancel button in S5, Chrome on OS X.
+ * Removes inner padding and search cancel button in Safari 5 and Chrome
+ * on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
@@ -467,7 +467,7 @@ input[type="search"]::-webkit-search-decoration {
}
/*
- * Removes inner padding and border in FF3+.
+ * Removes inner padding and border in Firefox 3+.
*/
button::-moz-focus-inner,
@@ -477,7 +477,7 @@ input::-moz-focus-inner {
}
/*
- * 1. Removes default vertical scrollbar in IE6/7/8/9.
+ * 1. Removes default vertical scrollbar in IE 6/7/8/9.
* 2. Improves readability and alignment in all browsers.
*/
From 207a39780ccbe09158a02f9687ad1b7cb874637b Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Tue, 14 Aug 2012 23:43:47 +0100
Subject: [PATCH 009/196] v1.0.0
---
README.md | 4 ++--
normalize.css | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index c484a8405..19b2fc74c 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
-# normalize.css
+# normalize.css v1.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/test.html)
+[Check out the demo](http://necolas.github.com/normalize.css/1.0.0/test.html)
## What does it do?
diff --git a/normalize.css b/normalize.css
index 75ebb2f8e..f3e29ec47 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css 2012-08-07T21:27 UTC | MIT License | git.io/normalize */
+/*! normalize.css v1.0.0 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
From 9f5837a95a33ab7e3b34b7ebc91a7d20623ae9cc Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Thu, 16 Aug 2012 22:04:16 +0100
Subject: [PATCH 010/196] Add CHANGELOG
---
CHANGELOG.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 000000000..399bef452
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,12 @@
+== 1.0.0 (August 14, 2012)
+
+(Only the notable changes since public release)
+
+* Add MIT License.
+* Hide `audio` elements without controls in iOS 5 (#69).
+* Normalize heading margins and font size.
+* Move font-family normalization from `body` to `html` (#62).
+* Remove scrollbar normalization (#64 #65).
+* Remove excess padding from checkbox and radio inputs in IE 7 (#42).
+* Add IE9 correction for SVG overflow (#16).
+* Add fix for legend not inheriting color in IE 6/7/8/9.
From 701c73be55386643423af180ad88acea1a9e7fac Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Thu, 16 Aug 2012 22:22:48 +0100
Subject: [PATCH 011/196] Add component.json
Used by the Bower package manager.
---
component.json | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 component.json
diff --git a/component.json b/component.json
new file mode 100644
index 000000000..1300bfd18
--- /dev/null
+++ b/component.json
@@ -0,0 +1,14 @@
+{
+ "name": "normalize-css",
+ "version": "1.0.0",
+ "author": "Nicolas Gallagher",
+ "homepage": "http://necolas.github.com/normalize.css",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/necolas/normalize.css.git"
+ },
+ "licenses": [{
+ "type": "MIT",
+ "url": "http://opensource.org/licenses/MIT"
+ }]
+}
From 138536c843c1cee9f8dc1f80cc985c21acd0b24d Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Sun, 19 Aug 2012 19:16:33 +0100
Subject: [PATCH 012/196] Minor change to test file
Switch from placekitten.com to lorempixel.com for placeholder images.
---
test.html | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/test.html b/test.html
index 016f9af25..750e5470d 100644
--- a/test.html
+++ b/test.html
@@ -76,7 +76,7 @@
Text-level semantics
The dfn element and dfn element with title examples
The em element example
The i element example
- The img element example
+ The img element example
The ins element example
The kbd element example
The mark element example
@@ -88,8 +88,8 @@
Text-level semantics
The strong element example
The sub element example
The sup element example
- The var element example
- The u element example
+ The u element example
+ The var element example