[Webkit-unassigned] [Bug 191581] New: Hidden attribute does not apply to optgroup and option

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 13 00:49:42 PST 2018


            Bug ID: 191581
           Summary: Hidden attribute does not apply to optgroup and option
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: develop at media-soft.info
                CC: cdumez at apple.com

The spec defines[0] on all HTML elements (subclasses of HTMLElement), including optgroup (HTMLOptGroupElement) and option (HTMLOptionElement) a hidden attribute.
Unlike Firefox, Edge, and Chrome, Safari does not (visually) reflect the semantics of setting this attribute: "User agents should not render elements that have the hidden attribute specified."
In the following demo, optgroup and option are visible in Safari: http://jsfiddle.net/c1nzxm8e/

[0] https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181113/e2292a1c/attachment.html>

More information about the webkit-unassigned mailing list