Re: [w3c/webcomponents] flatten: true in assignedNodes doesn't make much sense when a slot doesn't have display: contents (#493)

>> I don't understand the basis for unwrapping/flattening any slots. Why on the earth do you want to do such a thing in pure DOM API?
>
> E.g., when you write your own layout engine.

If you're writing your own layout engine in JS, you might as well as traverse through nodes.  Avoiding the work of having to traverse through slots' assigned nodes should be of the least concern.

---
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/493#issuecomment-218968198

Received on Friday, 13 May 2016 07:11:37 UTC