[Bug 21391] [Shadow]: allow @host rules to match nodes in the host scope not just the host node

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

--- Comment #3 from Takashi Sakamoto <tasak@google.com> ---
(In reply to comment #2)
> I would like to confirm whether the following should work or not, because an
> old @host @-rules depends on insertion points.
> 
> 
> <div id="host">
>     #shadow-root
>         <style>
>         @host { div::x-my-pseudo { color: blue } }
>         </style>
>         <div pseudo="x-my-pseudo">Hello</div>
> </div>
> 
> If a new @host @-rules also depends on insertion points, "Hello"'s color is
> not blue, because the #shadow-root has neither <content> nor <shadow>.

The @host @-rule should work, because the shadow tree is not inert.

... I found a bug of @host @-rules.

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

Received on Wednesday, 15 May 2013 10:42:30 UTC