mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Separate [hidden] and audio:not([controls]) to prevent entire rule being dropped in IE8
This commit is contained in:
parent
0bb4cfa742
commit
775989f4c7
12
normalize.css
vendored
12
normalize.css
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user