- From: Jan Miksovsky <notifications@github.com>
- Date: Mon, 16 Jan 2017 14:33:54 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 16 January 2017 22:34:27 UTC
We'd really like to see this as well. Additionally, we've come across a case where we wanted the assigned `textContent`: an auto-sizing textarea component that needs to support the use of `<slot>`. I think we ultimately want Shadow DOM-aware variations of `children`, `childNodes`, and `textContent`, and think it might be best to take care of all of them at the same time. We could have a uniform map of regular DOM property -> Shadow DOM-aware property: * `children` -> `assignedChildren` * `childNodes` -> `assignedChildNodes` * `textContent` -> `assignedTextContent`. This joins together the `textContent` of all assigned nodes, just as if they were light DOM child nodes. These would all be invoked on the host HTML element, not the slot. -- 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/602#issuecomment-272977284
Received on Monday, 16 January 2017 22:34:27 UTC