From 3be9da44bc566f4db8dd50b9b9fd6efb395d65a9 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Wed, 14 Sep 2011 11:13:13 +0100
Subject: [PATCH 001/230] Normalize fieldset border. Fix #34
IE renders rounded corners on fieldsets by default.
All browsers - even those that use the same border value of
2px groove threedface in their UA stylesheet - have different
final rendering colors, widths, and joining of the border.
The chosen value of 1px solid #c0c0c0 takes the most common
visual border width (IE, Firefox, Opera), removes the problematic
groove width value, and takes the computed color value from Chrome.
---
normalize.css | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/normalize.css b/normalize.css
index 1d39c82c6..3e1156f90 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css 2011-08-31T22:02 UTC ยท http://github.com/necolas/normalize.css */
+/*! normalize.css 2011-09-14T10:12 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
HTML5 display definitions
@@ -259,7 +259,7 @@ nav ol {
========================================================================== */
/*
- * 1. Removes border when inside 'a' element in IE6/7/8/9, F3
+ * 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/
*/
@@ -304,10 +304,11 @@ form {
}
/*
- * Define consistent margin and padding
+ * Define consistent border, margin, and padding
*/
fieldset {
+ border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
@@ -324,7 +325,7 @@ legend {
/*
* 1. Corrects font size not being inherited in all browsers
- * 2. Addresses margins set differently in IE6/7, F3/4, S5, Chrome
+ * 2. Addresses margins set differently in IE6/7, FF3/4, S5, Chrome
* 3. Improves appearance and consistency in all browsers
*/
From 4d81be63832501608fe8ae27cfdefef3f67664de Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Wed, 14 Sep 2011 11:27:24 +0100
Subject: [PATCH 002/230] Remove temporary Chrome pre-13 fix for audio/video
control styling bug.
Chrome 13 onwards no longer has a problem with -webkit-appearance
destroying the appearance of audio/video button controls. Ref #20
---
normalize.css | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/normalize.css b/normalize.css
index 3e1156f90..487511ece 100644
--- a/normalize.css
+++ b/normalize.css
@@ -1,4 +1,4 @@
-/*! normalize.css 2011-09-14T10:12 UTC - http://github.com/necolas/normalize.css */
+/*! normalize.css 2011-09-14T10:27 UTC - http://github.com/necolas/normalize.css */
/* =============================================================================
HTML5 display definitions
@@ -366,7 +366,7 @@ table input {
*/
button,
-html input[type="button"],
+input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer; /* 1 */
From 5e64a2c5cbba6dfd2ff61a5c50b99201fd5e2203 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Wed, 14 Sep 2011 11:37:24 +0100
Subject: [PATCH 003/230] Edit README to say normalize should be used as an
alternative to resets. Close #39
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index ec6a3032d..c81c94ac0 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,9 @@ What does it do?
How to use it
-----------
-It is suggested that you read through the `normalize.css` file and customise it to meet the design requirements of a project, rather blindly including it as a "black box".
+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/).
From 6d085d7e520572ca4a8c73fe09a44362792e30d0 Mon Sep 17 00:00:00 2001
From: Nicolas Gallagher
Date: Thu, 22 Sep 2011 18:31:16 +0100
Subject: [PATCH 004/230] Prevent text inputs growing as you type in IE6/7. Fix
#46
Applying *overflow:visible to button/input causes text inputs to
grow to fit their content, even if an explicit, fixed width is
applied. It was originally included to remove excess inner
spacing on buttons and submit/reset/button-type inputs in IE6/7.
Fixing this bug in IE6 requires dropping the fix entirely because
there is no way to avoid it being applied to text inputs. If
there is a need to fix this excess spacing bug in IE6, then it
should be done using a class that is applied to the
necessary elements.
For IE7, the excess spacing fix can be moved into the ruleset
that targets button and submit/reset/button-type inputs. This
prevents text inputs from growing.
---
demo.html | 2 +-
normalize.css | 19 +++++--------------
2 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/demo.html b/demo.html
index 55bf28093..feb8e788f 100644
--- a/demo.html
+++ b/demo.html
@@ -235,7 +235,7 @@ Forms