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 17:59:38 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qis6U-0001hU-Lw@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13283

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackalmage@gmail.com

--- Comment #1 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-07-18 17:59:37 UTC ---
Hmm, this is true.  Presentational attributes apply with lower precedence than
any author CSS, which means it would be relatively easy to accidentally set the
'display' on a hidden element to something other than 'none'.

Perhaps we should define this as acting at a different specificity level.  It
should be more specific than author styles, but less specific than author
!important styles.  That leaves us with it being either between author and
user, between user and @style, or between @style and author !important.  I
don't know which one would be best.

-- 
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 17:59:39 UTC

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