Bug 190999
Summary: | Slot Elements with the hidden attribute are still visible on the page | ||
---|---|---|---|
Product: | WebKit | Reporter: | Cédric Eberhardt <contact+webkit> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | cdumez, rniwa |
Priority: | P2 | ||
Version: | Safari 12 | ||
Hardware: | Mac | ||
OS: | macOS 10.14 | ||
Bug Depends on: | |||
Bug Blocks: | 148695 |
Cédric Eberhardt
For instance, here both slots, rendered in the shadow DOM, are visible on the page:
<slot name="active"></slot>
<slot name="inactive" hidden></slot>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
http://jsfiddle.net/vu5qderm/ seems to work in STP67. Could you post a sample HTML where this problem is reproducing?
Ryosuke Niwa
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.