Skip to content

Commit 599e5c6

Browse files
committed
Update demo.html and normalize.css from master branch
1 parent 85fa87a commit 599e5c6

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

demo.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ <h1>Text-level semantics</h1>
8080

8181
<h1>Embedded content</h1>
8282

83+
<h3>audio</h3>
84+
85+
<audio controls></audio>
86+
<audio></audio>
87+
8388
<h3>img</h3>
8489

8590
<img src="http://placekitten.com/100/100" alt="">
@@ -89,6 +94,11 @@ <h3>svg</h3>
8994

9095
<svg style="width:100px; height:100px;"><circle cx="100" cy="100" r="100" fill="#ff0000"></svg>
9196

97+
<h3>video</h3>
98+
99+
<video controls></video>
100+
<video></video>
101+
92102
<h1>Grouping content</h1>
93103

94104
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et m.</p>

normalize.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2011-06-21T18:23 UTC · http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2011-07-12T10:51 UTC · http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 element display
@@ -31,7 +31,7 @@ canvas,
3131
video {
3232
display: inline-block;
3333
*display: inline;
34-
zoom: 1;
34+
*zoom: 1;
3535
}
3636

3737

@@ -335,13 +335,23 @@ input {
335335
*overflow: visible; /* 2 */
336336
}
337337

338+
/*
339+
* Corrects overlap and whitespace issue for buttons and inputs in IE6/7
340+
* Known issue: reintroduces inner spacing
341+
*/
342+
343+
table button,
344+
table input {
345+
*overflow: auto;
346+
}
347+
338348
/*
339349
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
340350
* 2. Corrects inability to style clickable 'input' types in iOS
341351
*/
342352

343353
button,
344-
input[type="button"],
354+
html input[type="button"],
345355
input[type="reset"],
346356
input[type="submit"] {
347357
cursor: pointer; /* 1 */
@@ -390,7 +400,7 @@ input::-moz-focus-inner {
390400

391401
/*
392402
* 1. Removes default vertical scrollbar in IE6/7/8/9
393-
* 2. Improves readability and aligment in all browsers
403+
* 2. Improves readability and alignment in all browsers
394404
*/
395405

396406
textarea {

0 commit comments

Comments
 (0)