From f501de724ddc22bf57f92d99d7b10e42377b4f76 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 17 Jan 2012 16:43:06 +0000 Subject: [PATCH] Update normalize and demo from master branch --- demo.html | 2 +- normalize.css | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/demo.html b/demo.html index 6fd5c61..da2854a 100644 --- a/demo.html +++ b/demo.html @@ -247,7 +247,7 @@
- Inputs as descendents of labels (form legend) + Inputs as descendents of labels (form legend). This doubles up as a long legend that can test word wrapping.

diff --git a/normalize.css b/normalize.css index 9776813..1e10e7d 100644 --- a/normalize.css +++ b/normalize.css @@ -1,4 +1,4 @@ -/*! normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */ +/*! normalize.css 2012-01-17T16:33 UTC - http://github.com/necolas/normalize.css */ /* ============================================================================= HTML5 display definitions @@ -315,12 +315,15 @@ fieldset { /* * 1. Corrects color not being inherited in IE6/7/8/9 - * 2. Corrects alignment displayed oddly in IE6/7 + * 2. Corrects text not wrapping in FF3 + * 3. Corrects alignment displayed oddly in IE6/7 */ legend { border: 0; /* 1 */ - *margin-left: -7px; /* 2 */ + padding: 0; + white-space: normal; /* 2 */ + *margin-left: -7px; /* 3 */ } /* @@ -367,12 +370,16 @@ input[type="submit"] { /* * 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"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ + *height: 13px; /* 3 */ + *width: 13px; /* 3 */ } /* @@ -395,6 +402,14 @@ input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } +/* + * Removes search cancel button in S5, Chrome on OS X + */ + +input[type="search"]::-webkit-search-cancel-button { + -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/