W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2012

[Bug 19277] Relationship and precedence of hidden="" and display:none should be clarified/defined

From: <bugzilla@jessica.w3.org>
Date: Fri, 05 Oct 2012 13:32:39 +0000
Message-Id: <E1TK819-0004uT-EZ@jessica.w3.org>
To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19277

--- Comment #5 from Simon Pieters <simonp@opera.com> 2012-10-05 13:32:38 UTC ---
(In reply to comment #3)

> (small quibble: there is no hidden="" in HTML5 that I am aware of)

You link to it yourself:

> http://dev.w3.org/html5/spec/single-page.html#the-hidden-attribute)

> Yes? No? Maybe?

The spec says "User agents should not render elements that have the hidden
attribute specified." and the rendering section says display:none.

>    "What happens if the author changes to display:block but leaves @hidden
> set?" 

Then it overrides the declaration in the rendering section but the requirement
"User agents should not render elements that have the hidden attribute
specified." still applies.

> ...can be found with this statement: "The user agent is expected to force the
> 'display' property of noscript elements for whom scripting is enabled to
> compute to 'none', irrespective of CSS rules." 

What the spec says about <noscript> has no relevance at all to hidden="".

-- 
Configure bugmail: https://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 Friday, 5 October 2012 13:32:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 5 October 2012 13:32:40 GMT