- From: Tomek Wytrębowicz <notifications@github.com>
- Date: Mon, 21 May 2018 15:09:29 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 May 2018 22:09:51 UTC
`document.querySelector('copy-paste').shadowRoot.querySelector('slot').assignedNodes()[0].data = 'something completely different'` will not work for closed shadow roots, plus will not work with distributed content, more nodes, etc. AFAIK, you need to check/attach MutationObserver to all `slot.assignedNodes({flatten: true})` as you may have text divided into many nodes and distributed from nested slots. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/753#issuecomment-390798232
Received on Monday, 21 May 2018 22:09:51 UTC