Prevent IE6 from ignoring the embedded media ruleset. Fix #10

This commit is contained in:
Nicolas Gallagher 2011-07-20 20:06:47 +01:00
parent 9576d48fc2
commit 8ae3231cdb

13
normalize.css vendored
View File

@ -1,4 +1,4 @@
/*! normalize.css 2011-07-12T10:51 UTC · http://github.com/necolas/normalize.css */ /*! normalize.css 2011-07-20T19:03 UTC · http://github.com/necolas/normalize.css */
/* ============================================================================= /* =============================================================================
HTML5 element display HTML5 element display
@ -23,10 +23,9 @@ section {
/* /*
* Corrects inline-block display not defined in IE6/7/8/9 & FF3 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
* Known limitation: IE6 will not apply style for 'audio[controls]'
*/ */
audio[controls], audio,
canvas, canvas,
video { video {
display: inline-block; display: inline-block;
@ -34,6 +33,14 @@ video {
*zoom: 1; *zoom: 1;
} }
/*
* Prevents modern browsers from displaying 'audio' without controls
*/
audio:not([controls]) {
display: none;
}
/* ============================================================================= /* =============================================================================
Base Base