Separate [hidden] and audio:not([controls]) to prevent entire rule being dropped in IE8

This commit is contained in:
Nicolas Gallagher 2011-08-03 10:39:34 +01:00
parent 0bb4cfa742
commit 775989f4c7

12
normalize.css vendored
View File

@ -1,4 +1,4 @@
/*! normalize.css 2011-07-31T11:33 UTC · http://github.com/necolas/normalize.css */ /*! normalize.css 2011-08-03T09:38 UTC · http://github.com/necolas/normalize.css */
/* ============================================================================= /* =============================================================================
HTML5 display definitions HTML5 display definitions
@ -34,15 +34,21 @@ video {
} }
/* /*
* Addresses styling for 'hidden' attribute not present in IE6/7/8/9, FF3, S4
* Prevents modern browsers from displaying 'audio' without controls * Prevents modern browsers from displaying 'audio' without controls
*/ */
[hidden],
audio:not([controls]) { audio:not([controls]) {
display: none; display: none;
} }
/*
* Addresses styling for 'hidden' attribute not present in IE6/7/8/9, FF3, S4
*/
[hidden] {
display: none;
}
/* ============================================================================= /* =============================================================================
Base Base