[Webkit-unassigned] [Bug 190204] New: slotchange event is not fired when updating connected custom element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 2 09:21:19 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=190204
Bug ID: 190204
Summary: slotchange event is not fired when updating connected
custom element
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: macOS 10.13
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tomalecpub at gmail.com
CC: cdumez at apple.com
## 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
--
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/20181002/fcbb7da2/attachment-0001.html>
More information about the webkit-unassigned
mailing list