- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 01 Mar 2016 01:57:12 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 1 March 2016 09:57:42 UTC
In that case, I'd suggest writing two algorithms. One that finds (slot name, slot element) pairs in a given node tree and another one that creates a list of (slot name, list of assigned nodes) from the child nodes of a shadow host. The first algorithm is implemented in WebKit at: http://trac.webkit.org/browser/trunk/Source/WebCore/dom/SlotAssignment.cpp#L187 The second algorithm is implemented in WebKit at: http://trac.webkit.org/browser/trunk/Source/WebCore/dom/SlotAssignment.cpp#L217 --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/401#issuecomment-190641156
Received on Tuesday, 1 March 2016 09:57:42 UTC