[Shadow DOM] Use Cases for Selective Redistributions

Hi,

Could someone give me a concrete use cases for node redistributions where the second and subsequent insertion points need to redistribute a subset of nodes that have been redistributed to an insertion point in an earlier shadow DOM?  Maybe someone at Google working on Polymer would have one?

Wasn't this feature was needed in inheritance cases when we had multiple generations of shadow DOM (which we just decided to remove from the spec)?

If we don't need to redistribute a subset of nodes (at least for the majority of use cases we care about in v1), then we could just not worry about node redistributions in our imperative API.  Note that we can "redistribute" the entire content element just fine since a content element can be distributed along with its distributed nodes as one piece.

- R. Niwa

Received on Saturday, 25 April 2015 09:09:34 UTC