mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Simplify hiding of hidden and audio without controls. Work around IE6/7 list-style bug with nav, fix #25
This commit is contained in:
parent
45a7355346
commit
0bb4cfa742
15
normalize.css
vendored
15
normalize.css
vendored
@ -1,4 +1,4 @@
|
||||
/*! normalize.css 2011-07-20T19:34 UTC · http://github.com/necolas/normalize.css */
|
||||
/*! normalize.css 2011-07-31T11:33 UTC · http://github.com/necolas/normalize.css */
|
||||
|
||||
/* =============================================================================
|
||||
HTML5 display definitions
|
||||
@ -34,23 +34,15 @@ 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 not present IE6/7/8/9, FF3, S4
|
||||
* Ensures content is hidden from all presentations, including screenreaders
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Base
|
||||
@ -254,6 +246,7 @@ dd {
|
||||
nav ul,
|
||||
nav ol {
|
||||
list-style: none;
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user