Skip to content

Commit 34680ac

Browse files
committed
Update normalize.css and demo.html from master branch
1 parent 7e939a1 commit 34680ac

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ <h1>Forms</h1>
235235
<form>
236236
<fieldset>
237237
<legend>Inputs as descendents of labels (form legend)</legend>
238-
<p><label>Text input <input type="text" value="default value"></label></p>
238+
<p><label>Text input <input type="text" value="default value that goes on and on without stopping or punctuation"></label></p>
239239
<p><label>Email input <input type="email"></label></p>
240240
<p><label>Search input <input type="search"></label></p>
241241
<p><label>Tel input <input type="tel"></label></p>

normalize.css

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2011-09-14T10:27 UTC - http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2011-09-22T17:42 UTC - http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 display definitions
@@ -340,29 +340,19 @@ textarea {
340340
}
341341

342342
/*
343-
* 1. Addresses FF3/4 setting line-height using !important in the UA stylesheet
344-
* 2. Corrects inner spacing displayed oddly in IE6/7
343+
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
345344
*/
346345

347346
button,
348347
input {
349348
line-height: normal; /* 1 */
350-
*overflow: visible; /* 2 */
351-
}
352-
353-
/*
354-
* Corrects overlap and whitespace issue for buttons and inputs in IE6/7
355-
* Known issue: reintroduces inner spacing
356-
*/
357-
358-
table button,
359-
table input {
360-
*overflow: auto;
361349
}
362350

363351
/*
364352
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
365353
* 2. Corrects inability to style clickable 'input' types in iOS
354+
* 3. Corrects inner spacing displayed oddly in IE7 without effecting normal text inputs
355+
* Known issue: inner spacing remains in IE6
366356
*/
367357

368358
button,
@@ -371,6 +361,7 @@ input[type="reset"],
371361
input[type="submit"] {
372362
cursor: pointer; /* 1 */
373363
-webkit-appearance: button; /* 2 */
364+
*overflow: visible; /* 3 */
374365
}
375366

376367
/*

0 commit comments

Comments
 (0)