Re: [w3ctag/design-reviews] Imperative Shadow DOM Distribution API. (#486)

@hober,

Thanks for reviewing and providing feedback. 

Your concern is a good one and has been discussed in the comments surrounding following comment, https://github.com/whatwg/html/issues/3534#issuecomment-538613515

In there, @fergald provides one way of emulating a default slot in a custom element using manual slot assignment. I think it can be used to address your issue. 
Another way I can think of, but requires addition markup, is to use a custom element to wrap the additional detail's content.

Hopefully these methods above address your concerns. We want to avoid mixing imperative and declarative slot assignment as listed in point 4 of  https://github.com/whatwg/html/issues/3534#issuecomment-537802687.

Thanks.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/486#issuecomment-611788434

Received on Thursday, 9 April 2020 22:42:06 UTC