This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In http://dglazkov.github.com/Tabs/, there is a definite need to address host children that are selected by the insertion points. Perhaps a ::content selector?
Selectors 4 has a reference combinator that may be appropriate for this. You could do something like: content.foo /select/ input Which would grab all the <input>s that were directly grabbed by the content.foo element. This makes it somewhat less obvious that you're crossing the shadow boundary, but I think that's still okay. The reference combinator is always going to be slightly weird.
(In reply to comment #1) > Selectors 4 has a reference combinator that may be appropriate for this. You > could do something like: > > content.foo /select/ input > > Which would grab all the <input>s that were directly grabbed by the content.foo > element. > > This makes it somewhat less obvious that you're crossing the shadow boundary, > but I think that's still okay. The reference combinator is always going to be > slightly weird. This will work!
http://dvcs.w3.org/hg/webcomponents/rev/64fa6ff17919
Travis, Tony -- this also enables testability of node distribution correctness: ShadowRoot.querySelector('content.foo \select\ *') should give you all the nodes distributed into content.foo.