Add [hidden] attribute normalization

This commit is contained in:
Nicolas Gallagher 2011-07-20 20:35:55 +01:00
parent 8ae3231cdb
commit b3796b42b5

14
normalize.css vendored
View File

@ -1,7 +1,7 @@
/*! normalize.css 2011-07-20T19:03 UTC · http://github.com/necolas/normalize.css */ /*! normalize.css 2011-07-20T19:34 UTC · http://github.com/necolas/normalize.css */
/* ============================================================================= /* =============================================================================
HTML5 element display HTML5 display definitions
========================================================================== */ ========================================================================== */
/* /*
@ -41,6 +41,16 @@ audio:not([controls]) {
display: none; 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 Base