Bug 190999

Summary: Slot Elements with the hidden attribute are still visible on the page
Product: WebKit Reporter: Cédric Eberhardt <contact+webkit>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: cdumez, rniwa
Priority: P2    
Version: Safari 12   
Hardware: Macintosh   
OS: macOS 10.14   
Bug Depends on:    
Bug Blocks: 148695    

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.