Re: [webcomponents] Difference between composed document and document flat tree (#382)

Thank you for explaining it once more. Much appreciated.

Yeah, "composed" makes sense for `<script>` I guess, since they should run even if they end up not being distributed. Events will use flat. Okay, I see why we want both. And then both also have the open/closed variants to complicate matters.

So composed tree is a node tree including its hosted composed trees. The hosted trees of a composed tree will always be shadow trees. (You can imagine an even bigger tree that includes `<iframe>`-like trees, so terminology-wise we should not name this something that would preclude that, I think.)

A flat tree is the result of distributing the composed tree.

I'd like to have clearer terms, but I'm having a hard time coming up with them.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/382#issuecomment-184757406

Received on Tuesday, 16 February 2016 16:36:54 UTC