- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Sat, 8 Feb 2014 09:44:10 -0800
- To: François REMY <francois.remy.dev@outlook.com>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
> 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