Need a better way to reach into the shadow DOM subtree


We really need to have a better way to address elements inside a
shadow DOM subtree. The pseudo-element doohickey is deficient,
because... well, it's a pseudo-element.

For example, WebKit's media controls implementation would get a whole
lot more elegant if I could specifically address the state of an
element from CSS:

video::-webkit-timeline:disabled { /* ... */ }

How do we fix this? Tab suggests a new combinator selector like:

video % timeline:disabled.

I like it. Who's with me and Tab? :)


Received on Monday, 11 April 2011 19:51:26 UTC