[w3c/webcomponents] What happens in these slot/content scenarios? (#508)

What is the expected behavior in each of the following cases? In each case, assume "element" is a custom element that (at some point in time) will have a top-level shadow root, "shadow root".

1. Element's light dom content added first including elements with `slot=""` attributes, then shadow root added with existing shadow dom (includes named slots).
2. Shadow root is added first with existing shadow dom (includes named slots), then element's light dom content is added including elements with `slot=""` attributes.
3. Either of the first two happen first, but then later new content is added to element's light dom (with matching `slot=""` attributes).
4. Either of 1 or 2 happen first, then the shadow dom is modified later (including some slots added or moved into to new positions).
5. Any of the previous happen first, but then light dom content and shadow root's content are completely replaced. Shadow root contains new slots with new names, and light dom content has new elements with matching `slot=""` attributes.

What scenarios have I missed?

---
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/508

Received on Tuesday, 31 May 2016 17:45:47 UTC