- From: yuzhehan <notifications@github.com>
- Date: Fri, 06 Mar 2020 16:26:29 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 7 March 2020 00:26:42 UTC
yuzhe-han commented on this pull request. > ``` +<shadow-host> + <div slot=slot1></div> + <div slot=slot2></div> +</shadow-host> + ``` +Some people would see this as a kind of *ugly* markup. +Shadow DOM v1 can't explain how `<summary>/<details>` elements can be implemented on the top of the current Web Components technology stack, given that `<details>` element doesn't need slot= attribute. +Blink has a special logic for some built-in elements to control node-to-slot mapping. + +#### Case 2: Can’t slot based on condition. +``` Updated to use html and fixed all curly quotes to use normal quotes instead. -- 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/pull/866#discussion_r389204023
Received on Saturday, 7 March 2020 00:26:42 UTC