Update demo.html and normalize.css from master branch

This commit is contained in:
Nicolas Gallagher 2011-07-12 13:06:20 +02:00
parent 85fa87a917
commit 599e5c6985
2 changed files with 24 additions and 4 deletions

View File

@ -80,6 +80,11 @@
<h1>Embedded content</h1> <h1>Embedded content</h1>
<h3>audio</h3>
<audio controls></audio>
<audio></audio>
<h3>img</h3> <h3>img</h3>
<img src="http://placekitten.com/100/100" alt=""> <img src="http://placekitten.com/100/100" alt="">
@ -89,6 +94,11 @@
<svg style="width:100px; height:100px;"><circle cx="100" cy="100" r="100" fill="#ff0000"></svg> <svg style="width:100px; height:100px;"><circle cx="100" cy="100" r="100" fill="#ff0000"></svg>
<h3>video</h3>
<video controls></video>
<video></video>
<h1>Grouping content</h1> <h1>Grouping content</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m.</p> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m.</p>

18
normalize.css vendored
View File

@ -1,4 +1,4 @@
/*! normalize.css 2011-06-21T18:23 UTC · http://github.com/necolas/normalize.css */ /*! normalize.css 2011-07-12T10:51 UTC · http://github.com/necolas/normalize.css */
/* ============================================================================= /* =============================================================================
HTML5 element display HTML5 element display
@ -31,7 +31,7 @@ canvas,
video { video {
display: inline-block; display: inline-block;
*display: inline; *display: inline;
zoom: 1; *zoom: 1;
} }
@ -335,13 +335,23 @@ input {
*overflow: visible; /* 2 */ *overflow: visible; /* 2 */
} }
/*
* Corrects overlap and whitespace issue for buttons and inputs in IE6/7
* Known issue: reintroduces inner spacing
*/
table button,
table input {
*overflow: auto;
}
/* /*
* 1. Improves usability and consistency of cursor style between image-type 'input' and others * 1. Improves usability and consistency of cursor style between image-type 'input' and others
* 2. Corrects inability to style clickable 'input' types in iOS * 2. Corrects inability to style clickable 'input' types in iOS
*/ */
button, button,
input[type="button"], html input[type="button"],
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
cursor: pointer; /* 1 */ cursor: pointer; /* 1 */
@ -390,7 +400,7 @@ input::-moz-focus-inner {
/* /*
* 1. Removes default vertical scrollbar in IE6/7/8/9 * 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 { textarea {