[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

Takashi Sakamoto <tasak@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tasak@google.com

--- Comment #2 from Takashi Sakamoto <tasak@google.com> ---
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>.

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

Received on Wednesday, 15 May 2013 10:36:08 UTC