From 0bb4cfa7420825c4213a69875877957251818091 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 31 Jul 2011 11:35:06 +0100 Subject: [PATCH] Simplify hiding of hidden and audio without controls. Work around IE6/7 list-style bug with nav, fix #25 --- normalize.css | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/normalize.css b/normalize.css index a6b48b3..3760cc3 100644 --- a/normalize.css +++ b/normalize.css @@ -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; }