- From: Hayato Ito <notifications@github.com>
- Date: Thu, 07 Apr 2016 23:11:36 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Friday, 8 April 2016 06:12:08 UTC
Given that a flat tree now includes a slot, and a slot is `display: contents` by default, I think we no longer need to support "get distributed nodes" algorithm for a slot in a document tree. Until now, "get distributed nodes" is required for a slot in a document tree because we have to construct the flat tree correctly, in case when the slot has a child node. Such child nodes are known as "fallback contents". I am going to make Slot.getAssignedNodes({flatten: true}) return an empty array if the slot is in a document tree. It would make sense, I think. --- 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/482
Received on Friday, 8 April 2016 06:12:08 UTC