Skip to content

Commit f501de7

Browse files
committed
Update normalize and demo from master branch
1 parent e5bd07f commit f501de7

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ <h1>Forms</h1>
247247

248248
<form>
249249
<fieldset>
250-
<legend>Inputs as descendents of labels (form legend)</legend>
250+
<legend>Inputs as descendents of labels (form legend). This doubles up as a long legend that can test word wrapping.</legend>
251251
<p><label>Text input <input type="text" value="default value that goes on and on without stopping or punctuation"></label></p>
252252
<p><label>Email input <input type="email"></label></p>
253253
<p><label>Search input <input type="search"></label></p>

normalize.css

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2011-11-04T15:38 UTC - http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2012-01-17T16:33 UTC - http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 display definitions
@@ -315,12 +315,15 @@ fieldset {
315315

316316
/*
317317
* 1. Corrects color not being inherited in IE6/7/8/9
318-
* 2. Corrects alignment displayed oddly in IE6/7
318+
* 2. Corrects text not wrapping in FF3
319+
* 3. Corrects alignment displayed oddly in IE6/7
319320
*/
320321

321322
legend {
322323
border: 0; /* 1 */
323-
*margin-left: -7px; /* 2 */
324+
padding: 0;
325+
white-space: normal; /* 2 */
326+
*margin-left: -7px; /* 3 */
324327
}
325328

326329
/*
@@ -367,12 +370,16 @@ input[type="submit"] {
367370
/*
368371
* 1. Addresses box sizing set to content-box in IE8/9
369372
* 2. Removes excess padding in IE8/9
373+
* 3. Removes excess padding in IE7
374+
Known issue: excess padding remains in IE6
370375
*/
371376

372377
input[type="checkbox"],
373378
input[type="radio"] {
374379
box-sizing: border-box; /* 1 */
375380
padding: 0; /* 2 */
381+
*height: 13px; /* 3 */
382+
*width: 13px; /* 3 */
376383
}
377384

378385
/*
@@ -395,6 +402,14 @@ input[type="search"]::-webkit-search-decoration {
395402
-webkit-appearance: none;
396403
}
397404

405+
/*
406+
* Removes search cancel button in S5, Chrome on OS X
407+
*/
408+
409+
input[type="search"]::-webkit-search-cancel-button {
410+
-webkit-appearance: none;
411+
}
412+
398413
/*
399414
* Removes inner padding and border in FF3+
400415
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/

0 commit comments

Comments
 (0)