Skip to content

Commit

Permalink
Separate [hidden] and audio:not([controls]) to prevent entire rule be…
Browse files Browse the repository at this point in the history
…ing dropped in IE8
  • Loading branch information
necolas committed Aug 3, 2011
1 parent 0bb4cfa commit 775989f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions normalize.css
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
*/

[hidden],
audio:not([controls]) {
display: none;
}

/*
* Addresses styling for 'hidden' attribute not present in IE6/7/8/9, FF3, S4
*/

[hidden] {
display: none;
}


/* =============================================================================
Base
Expand Down

0 comments on commit 775989f

Please sign in to comment.