Re: [shadow-styling] First Draft of Shadow DOM Styling uploaded

> On Feb 8, 2014, at 2:48 AM, François REMY <francois.remy.dev@outlook.com> wrote:
> 
> Firstly, I never saw any discussion about the ":ancestor(...)" pseudo-class in the past, which allow selectors inside a shadow DOM to select elements outside the shadow DOM. Wow, I think we are breaking yet another level of encapsulation here in a way I don't like at all. A Shadow DOM should never have an impact on an another element in the visible DOM than the element it's applied on, otherwise I don't need a crystal ball to tell you the "mobile performance" will see a dramatic decrease in bowsers implementing your spec. 
> 
> In all seriousness, can you provide a single "responsible" use case for this?

If 'option' was a component, you might want to style it differently if it was inside an 'optgroup'. 

Received on Saturday, 8 February 2014 17:44:38 UTC