- From: Domenic Denicola <d@domenic.me>
- Date: Tue, 19 May 2015 01:34:39 +0000
- To: Justin Fagnani <justinfagnani@google.com>
- CC: "esprehn@chromium.org" <esprehn@chromium.org>, "philip@philipwalton.com" <philip@philipwalton.com>, "dfreedm@google.com" <dfreedm@google.com>, "dglazkov@google.com" <dglazkov@google.com>, "sjmiles@google.com" <sjmiles@google.com>, "rniwa@apple.com" <rniwa@apple.com>, "eoconnor@apple.com" <eoconnor@apple.com>, "annevk@annevk.nl" <annevk@annevk.nl>, "travis.leithead@microsoft.com" <travis.leithead@microsoft.com>, "mjs@apple.com" <mjs@apple.com>, "arronei@microsoft.com" <arronei@microsoft.com>, "slightlyoff@google.com" <slightlyoff@google.com>, "public-webapps@w3.org" <public-webapps@w3.org>
From: Justin Fagnani [mailto:justinfagnani@google.com] > They're not equivalent, because any element can have the right content-slot value, but with tag names, only one (or maybe N) names would be supported. Hmm, I don't understand, and fear we might be talking past each other. Can you give an example where content-slot works but tag names do not? For example https://github.com/w3c/webcomponents/blob/gh-pages/proposals/Proposal-for-changes-to-manage-Shadow-DOM-content-distribution.md#proposal-part-1-syntax-for-named-insertion-points gets translated from <combo-box> <icon></icon> <dropdown> … Choices go here … </dropdown> </combo-box> Your stated sentence doesn't make much sense to me; you can have multiple elements with the same tag name. Literally, just take any example you can write <x content-slot="y"> ... </x> and replace those with <y> and </y>.
Received on Tuesday, 19 May 2015 01:35:10 UTC