- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 18 Oct 2016 14:50:20 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 18 October 2016 21:50:48 UTC
I don't think that works. You need to a way to specify where in DOM tree the assigned nodes would go. e.g. if you had `<div slot="slotName"><img><br></div>` then where in div are assigned nodes supposed to go? This behaves identically to `<slot name="slotName"><img><br></slot>`, then your proposal doesn't accomplish anything beyond replacing a `slot` element with a `slot` attribute or a equivalent JS API that returns a regular element into a slot. And turning an arbitrary element into a `slot` element is an extremely complicated operation that at least we, WebKit, are not wiling to implement. -- 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/589#issuecomment-254649911
Received on Tuesday, 18 October 2016 21:50:48 UTC