[Webkit-unassigned] [Bug 85055] HTML5 "hidden" attribute is overridden by CSS "display" property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 27 10:37:34 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85055





--- Comment #2 from dubroy at chromium.org  2012-04-27 10:37:33 PST ---
>From the spec (http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#the-hidden-attribute): 

"User agents should not render elements that have the hidden attribute specified."

In the example I gave, I'd expect the paragraph to be hidden because the hidden attribute is on the element itself, and the CSS rule applies to all <p> elements. The hidden attribute should take precedence, just like if I put "display: none" in the element's style.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list