[Webkit-unassigned] [Bug 85055] HTML5 "hidden" attribute is overridden by CSS "display" property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 1 10:57:16 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=85055
--- Comment #4 from dubroy at chromium.org 2012-05-01 10:57:10 PST ---
(In reply to comment #3)
> The rendering section suggests hidden="" is equivalent to "display: none", not "display: none !important":
>
> http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#hidden-elements
>
> So I think our behavior matches the spec.
But wouldn't the attribute be considered more specific? If I replace:
<p hidden>
with
<p style="display:none">
then the element is hidden. If hidden is supposed to be the same as "display: none", then I'd expect those two things to behave the same.
--
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