Skip to content

Commit 775989f

Browse files
committed
Separate [hidden] and audio:not([controls]) to prevent entire rule being dropped in IE8
1 parent 0bb4cfa commit 775989f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

normalize.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2011-07-31T11:33 UTC · http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2011-08-03T09:38 UTC · http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 display definitions
@@ -34,15 +34,21 @@ video {
3434
}
3535

3636
/*
37-
* Addresses styling for 'hidden' attribute not present in IE6/7/8/9, FF3, S4
3837
* Prevents modern browsers from displaying 'audio' without controls
3938
*/
4039

41-
[hidden],
4240
audio:not([controls]) {
4341
display: none;
4442
}
4543

44+
/*
45+
* Addresses styling for 'hidden' attribute not present in IE6/7/8/9, FF3, S4
46+
*/
47+
48+
[hidden] {
49+
display: none;
50+
}
51+
4652

4753
/* =============================================================================
4854
Base

0 commit comments

Comments
 (0)