Traversal of slotted nodes can escape to real siblings. Those siblings are then traversed again as slotted nodes.
Created attachment 272781 [details] patch
Comment on attachment 272781 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=272781&action=review > LayoutTests/fast/shadow-dom/composed-tree-slots.html:1 > +<script> Missing DOCTYPE. > LayoutTests/fast/shadow-dom/composed-tree-slots.html:49 > +var console = document.querySelector("#console"); Can we use some other variable name to avoid shadowing window.console?
http://trac.webkit.org/changeset/197553