From b3796b42b5c8dedce2e35b4b769fe1e3b8c72f3d Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Wed, 20 Jul 2011 20:35:55 +0100 Subject: [PATCH] Add [hidden] attribute normalization --- normalize.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/normalize.css b/normalize.css index 14ae849..a6b48b3 100644 --- a/normalize.css +++ b/normalize.css @@ -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; } +/* + * 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