[Bug 22390] [Shadow]: Support ':context()' pseudo class.

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

--- Comment #3 from Tab Atkins Jr. <jackalmage@gmail.com> ---
:host(), of course.  (one colon, not two).

Full details:

:host (no parentheses) matches the host element.  (Kinda like :root, but for
the shadow tree rather than the document.)

:host(<compound-selector>) attempts to match the selector against each element
in the fully-composed ancestor list, starting from and including the host
element, ending in the document root. It matches the host element if the
compound selector successfully matches against anything.

:host() (empty argument) is identical to :host(*), which is identical to :host
- they match the host element unconditionally.

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

Received on Monday, 24 June 2013 18:21:15 UTC