You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I replaced "node tree" with "component tree" in 588ecdf, I realized that it would affect the behavior of "tree of trees", in a sense before the commit, whose root tree is not a document tree.
The current spec does not say anything how such a disconnected (from a document) tree of trees should behave.
e.g.
const host = document.createElement('div');
const child = document.createElement('div');
const shadowRoot = host.attachShadow({mode: 'open'});
shadowRoot.appendChild(document.createElement('slot'));
// Note that host is not inserted into a document.
console.log(child.assignedSlot); // What should be?
FYI. in current Blink's implementation, the distribution is correctly calculated even for such a disconnected tree of trees.
The text was updated successfully, but these errors were encountered:
I'm going to fix the wording of the spec so that slot assigning API should work even in a such a disconnected tree of trees, whose root tree is not a document tree.
After I replaced "node tree" with "component tree" in 588ecdf, I realized that it would affect the behavior of "tree of trees", in a sense before the commit, whose root tree is not a document tree.
The current spec does not say anything how such a disconnected (from a document) tree of trees should behave.
e.g.
FYI. in current Blink's implementation, the distribution is correctly calculated even for such a disconnected tree of trees.
The text was updated successfully, but these errors were encountered: