RESOLVED DUPLICATE of bug 189144 190204
slotchange event is not fired when upgrading connected custom element
https://bugs.webkit.org/show_bug.cgi?id=190204
Summary slotchange event is not fired when upgrading connected custom element
Tomek
Reported 2018-10-02 09:21:19 PDT
## Live sample https://jsbin.com/xibohon/3/edit?html,console,output ## Steps to reproduce 1. create custom element with a child: `<my-element><div></div></my-element>` 2. define this custom element: - on constructor create shadow root, with default slot, - attach `slotchange` event listener 3. observe `slotchange` callback execution. ## Expected result `slotchange` callback is called after `connectedCallback` This is how it works in Chrome 69.0.3497.100 and Firefox 63. ## Expected result `slotchange` callback is not called
Attachments
Ryosuke Niwa
Comment 1 2018-10-04 14:41:12 PDT
Thanks for the bug report. This issue should be fixed in Safari Technology Preview 66. Please try it out at: https://webkit.org/downloads/ *** This bug has been marked as a duplicate of bug 189144 ***
Note You need to log in before you can comment on or make changes to this bug.