[Bug 21389] [Shadow]: ::distributed should allow the :root pseudo selector

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

Dominic Cooney <dominicc@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominicc@chromium.org

--- Comment #1 from Dominic Cooney <dominicc@chromium.org> ---
I think this should be :scope and not :root.

As you can see in the scoping section of the CSS4 Selectors spec [1] "The :root
pseudo-class, however, still only matches the actual root of the document."
even when doing a scope-contained selector.

Perhaps we can use :scope [2] for this, with the awkwardness that the
ShadowRoot now becomes addressable despite not being style-able, and you have
to write content::distributed(:scope > .foo .bar) to mean what you want.

[1] <http://dev.w3.org/csswg/selectors4/#scoping>
[2] <http://dev.w3.org/csswg/selectors4/#the-scope-pseudo>

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

Received on Tuesday, 26 March 2013 00:56:05 UTC