From ce0c3469e040b4d88663b03d1325cc274e35d4c9 Mon Sep 17 00:00:00 2001 From: necolas Date: Tue, 31 May 2011 23:06:06 +0100 Subject: [PATCH 001/264] Minor changes to properties and values that could be shortened. Improve comment language and change section-comment format (via Jonathan Neal). --- normalize.css | 157 +++++++++++++++++++++++++++++--------------------- 1 file changed, 91 insertions(+), 66 deletions(-) diff --git a/normalize.css b/normalize.css index bfe564fa7..0920df2db 100644 --- a/normalize.css +++ b/normalize.css @@ -1,8 +1,10 @@ -/* ============================================================================================================= HTML5 ELEMENT DISPLAY */ +/* ============================================================================= + HTML5 element display + ========================================================================== */ /* * Add display for block-level HTML5 elements - * Display not defined in IE6/7/8/9 & FF3 + * Addresses display not defined in IE6/7/8/9 & FF3 */ article, @@ -20,7 +22,7 @@ section { /* * Add display for embedded HTML5 elements - * Display not defined in IE6/7/8/9 & FF3 + * Addresses display not defined in IE6/7/8/9 & FF3 */ audio[controls], @@ -32,15 +34,17 @@ video { } -/* ============================================================================================================= BASE STYLES & FIXES */ +/* ============================================================================= + Base + ========================================================================== */ /* - * 1. Add vertical scrollbar to element - * Keeps page centred in all browsers regardless of content height + * 1. Add vertical scrollbar + * Keeps page centred in all browsers regardless of content height * 2. Remove Android and iOS tap highlight color to prevent entire container being highlighted - * www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/ + * www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/ * 3. Remove iOS text size adjust without disabling user zoom - * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ + * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ html { @@ -51,9 +55,9 @@ html { } /* - * 1. Define the base font-size of choice; set in % or em to retain text resizing in IE6/7 - * 2. Define the base line-height of choice. - * 3. Remove margin from element + * 1. Define the base font-size (using % or em will retain text resizing in IE6/7) + * 2. Define the base line-height. + * 3. Remove margin */ body { @@ -63,8 +67,8 @@ body { } /* - * Define the base font-family and text color for and form elements - * Fixes font-family inconsistency between -
+
diff --git a/normalize.css b/normalize.css index f3b94b2c7..57b2b3770 100644 --- a/normalize.css +++ b/normalize.css @@ -1,4 +1,4 @@ -/*! normalize.css 2011-06-21T02:22 http://github.com/necolas/normalize.css */ +/*! normalize.css 2011-06-21T18:23 UTC · http://github.com/necolas/normalize.css */ /* ============================================================================= HTML5 element display @@ -77,17 +77,6 @@ textarea { font-family: sans-serif; } -/* - * 1. Removes border when inside 'a' element in IE6/7/8/9 - * 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/ - */ - -img { - border: 0; /* 1 */ - -ms-interpolation-mode: bicubic; /* 2 */ -} - /* ============================================================================= Links @@ -251,6 +240,30 @@ nav ol { } +/* ============================================================================= + Embedded content + ========================================================================== */ + +/* + * 1. Removes border when inside 'a' element in IE6/7/8/9 + * 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/ + */ + +img { + border: 0; /* 1 */ + -ms-interpolation-mode: bicubic; /* 2 */ +} + +/* + * Corrects overflow displayed oddly in IE9 + */ + +svg:not(:root) { + overflow: hidden; +} + + /* ============================================================================= Figures ========================================================================== */ From 7372f5025064ec2617a04daea16393da30d359bd Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Mon, 27 Jun 2011 12:09:33 -0700 Subject: [PATCH 018/264] Very minor copy typo fix and `zoom` property change. --- normalize.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/normalize.css b/normalize.css index 57b2b3770..3e9a82157 100644 --- a/normalize.css +++ b/normalize.css @@ -1,4 +1,4 @@ -/*! normalize.css 2011-06-21T18:23 UTC · http://github.com/necolas/normalize.css */ +/*! normalize.css 2011-06-27T20:08 UTC · http://github.com/necolas/normalize.css */ /* ============================================================================= HTML5 element display @@ -31,7 +31,7 @@ canvas, video { display: inline-block; *display: inline; - zoom: 1; + *zoom: 1; } @@ -390,7 +390,7 @@ input::-moz-focus-inner { /* * 1. Removes default vertical scrollbar in IE6/7/8/9 - * 2. Improves readability and aligment in all browsers + * 2. Improves readability and alignment in all browsers */ textarea { From db80311682c9471de5a90af346528cfad6acd225 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 12 Jul 2011 12:22:38 +0200 Subject: [PATCH 019/264] Add