We will make elements re-distributable in Shadow DOM. This meta bug covers all issues related to it.
In this series, we will make the following things available. <host> ---- SR | | |- DIV (A) |-DIV ---------------SR |- DIV (B) |-<shadow> (D) |-<content select="DIV"> (E) |-DIV (C) DIV (A) and DIV (B) are distributed to <shadow> (D) in the current spec. In the coming spec, we will make it available to distribute (A) and (B) to (E) again. (This is called reprojection or redistribution) This will improve the component-ability of elements much.
When implementing content reprojection, we have to update both InsertionPoint, TreeWalker, etc. at once. It will be good to have some flag?
(In reply to comment #2) > It will be good to have some flag? If we can avoid it, we should. If we can't, we could add a flag.
Just for curious, that is the whole plan to make this happen? Apparently Bug 96988 and Bug 97151 doesn't cover everything we need. If there is some big picture for this, it would be helpful for reviewing coming patches.
(In reply to comment #4) > Just for curious, that is the whole plan to make this happen? > Apparently Bug 96988 and Bug 97151 doesn't cover everything we need. > If there is some big picture for this, > it would be helpful for reviewing coming patches. +1 -- a plan sounds good.
(In reply to comment #5) > (In reply to comment #4) > > Just for curious, that is the whole plan to make this happen? > > Apparently Bug 96988 and Bug 97151 doesn't cover everything we need. > > If there is some big picture for this, > > it would be helpful for reviewing coming patches. > > +1 -- a plan sounds good. In my understandings, refactoring SelectorChecker and improving ComposedShadowTreeWalker will cover rendering things.
all sub-bugs have been resolved. It's time to close this?
(In reply to comment #7) > all sub-bugs have been resolved. It's time to close this? Good catch. Closing.