[Webkit-unassigned] [Bug 204559] New: Webcomponents dynamic added slots do not work
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 24 14:33:51 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=204559
Bug ID: 204559
Summary: Webcomponents dynamic added slots do not work
Product: WebKit
Version: Safari 13
Hardware: Macintosh
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jochen.kuehner at gmx.de
Webcomponents dynamic added slots do not work
see code on https://jsfiddle.net/t2z4kp3n/1/
Result is
DivA
DivB
DivC
but should be
DivA
DivB
DivC
DivD
If you change order of 16-18 from
let slot = document.createElement("slot");
slot.name = "d";
shadowRoot.appendChild(slot);
to
let slot = document.createElement("slot");
shadowRoot.appendChild(slot);
slot.name = "d";
it works as expected.
Also look in chrome, it works as it should
--
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/20191124/015412e3/attachment.htm>
More information about the webkit-unassigned
mailing list