[Bug 22892] [Shadow]: What (if anything) does <style scoped> do, when it is a child of a shadow host?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22892

--- Comment #7 from Tab Atkins Jr. <jackalmage@gmail.com> ---
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > Actually, I think I've been barking up the wrong tree anyway.
> > 
> > Okay. So the color of p is red, but only because it is inherited from
> > div#foo. Right?
> 
> Lol, sorry -- typing faster than thinking. No, it will be green, because
> #foo is a div, not a p.

In your example, it'll be black, because you aren't letting selectors through,
and the top-level <style> is just targeting <p>s, so there's nothing there to
style the shadow <p>. ^_^

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 6 August 2013 17:26:07 UTC