Re: [csswg-drafts] [css-scoping] Proposal: Allow <slot> with LightDOM Web Components (#10420)

I'd love to see your thoughts on how something like this could be resilient to DOM changes overtime, both from without the element AND within, rather than supporting what initially appears to be a one time stamp render merge of the initial content of the element and the "template" of the element.

Specifically, you use `this.appendChild(...)` in your example, which works a specific way that couldn't support this today. Do you see adding new arguments to the `appendChild()` method? Or do you see adding a new `appendSomething()` method to use alternatively? How would page with your custom element know how to interact with these updated DOM realities? 

-- 
GitHub Notification of comment by Westbrook
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10420#issuecomment-2168015943 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 14 June 2024 13:12:28 UTC