Bug 190999 - Slot Elements with the hidden attribute are still visible on the page
Summary: Slot Elements with the hidden attribute are still visible on the page
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 12
Hardware: Mac macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 148695
  Show dependency treegraph
 
Reported: 2018-10-27 16:34 PDT by Cédric Eberhardt
Modified: 2018-11-06 11:13 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Eberhardt 2018-10-27 16:34:48 PDT
For instance, here both slots, rendered in the shadow DOM, are visible on the page:

<slot name="active"></slot>
<slot name="inactive" hidden></slot>
Comment 1 Ryosuke Niwa 2018-10-29 14:44:20 PDT
http://jsfiddle.net/vu5qderm/ seems to work in STP67. Could you post a sample HTML where this problem is reproducing?
Comment 2 Ryosuke Niwa 2018-11-06 11:13:17 PST
Closing this for now since I can't reproduce. Please feel free to comment the bug if there is a website or a sample HTML / page where this problem reproduces.