From bb3a1304a08adf88fb8ac2361269ea47a97691b0 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Mon, 17 Feb 2014 12:17:55 -0800 Subject: [PATCH] More accurate comments Fix #299 Fix #292 Fix #304 --- normalize.css | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/normalize.css b/normalize.css index 196d223..74b4c79 100644 --- a/normalize.css +++ b/normalize.css @@ -24,7 +24,9 @@ body { ========================================================================== */ /** - * Correct `block` display not defined in IE 8/9. + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. + * Correct `block` display not defined for `main` in IE 11. */ article, @@ -66,8 +68,8 @@ audio:not([controls]) { } /** - * Address `[hidden]` styling not present in IE 8/9. - * Hide the `template` element in IE, Safari, and Firefox < 22. + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. */ [hidden], @@ -99,7 +101,7 @@ a:hover { ========================================================================== */ /** - * Address styling not present in IE 8/9, Safari 5, and Chrome. + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. */ abbr[title] { @@ -107,7 +109,7 @@ abbr[title] { } /** - * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */ b, @@ -116,7 +118,7 @@ strong { } /** - * Address styling not present in Safari 5 and Chrome. + * Address styling not present in Safari and Chrome. */ dfn { @@ -125,7 +127,7 @@ dfn { /** * Address variable `h1` font-size and margin within `section` and `article` - * contexts in Firefox 4+, Safari 5, and Chrome. + * contexts in Firefox 4+, Safari, and Chrome. */ h1 { @@ -174,7 +176,7 @@ sub { ========================================================================== */ /** - * Remove border when inside `a` element in IE 8/9. + * Remove border when inside `a` element in IE 8/9/10. */ img { @@ -182,7 +184,7 @@ img { } /** - * Correct overflow displayed oddly in IE 9. + * Correct overflow not hidden in IE 9/10/11. */ svg:not(:root) { @@ -193,7 +195,7 @@ svg:not(:root) { ========================================================================== */ /** - * Address margin not present in IE 8/9 and Safari 5. + * Address margin not present in IE 8/9 and Safari. */ figure { @@ -242,7 +244,7 @@ samp { * 1. Correct color not being inherited. * Known issue: affects color of disabled elements. * 2. Correct font properties not being inherited. - * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */ button, @@ -256,7 +258,7 @@ textarea { } /** - * Address `overflow` set to `hidden` in IE 8/9/10. + * Address `overflow` set to `hidden` in IE 8/9/10/11. */ button { @@ -266,7 +268,7 @@ button { /** * 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 Firefox, IE 8+, and Opera + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. * Correct `select` style inheritance in Firefox. */ @@ -345,8 +347,8 @@ input[type="number"]::-webkit-outer-spin-button { } /** - * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome * (include `-moz` to future-proof). */ @@ -379,7 +381,7 @@ fieldset { } /** - * 1. Correct `color` not being inherited in IE 8/9. + * 1. Correct `color` not being inherited in IE 8/9/10/11. * 2. Remove padding so people aren't caught out if they zero out fieldsets. */ @@ -389,7 +391,7 @@ legend { } /** - * Remove default vertical scrollbar in IE 8/9. + * Remove default vertical scrollbar in IE 8/9/10/11. */ textarea {