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

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 UTC