W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

[Bug 13283] Current definition for [hidden] is not very useful for Web application developers. Every style rules in the author style sheet have to contain :not([hidden]) in their selectors to not override 'display' property for [hidden] elements.

From: <bugzilla@jessica.w3.org>
Date: Mon, 18 Jul 2011 18:18:36 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QisOq-0003SR-1S@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13283

--- Comment #3 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-07-18 18:18:35 UTC ---
(In reply to comment #2)
> One way to specify it would be to say that the UA stylesheet contains a rule
> like:
> 
> *[hidden] {
>   display: none !important;
> }

Except that CSS doesn't officially recognize the notion of a UA !important rule
for some reason.  Of course, all the browsers use that to some extent.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 18 July 2011 18:18:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:13 UTC