[Bug 23467] [Shadow]: clarify ^ and ^^ combinator

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

--- Comment #1 from Steve Orvell <sorvell@chromium.org> ---
There are a couple of things in the linked document that I think are incorrect.
I requested comment access but in the meantime, I'll post my notes here:

The definition of ^^ is incomplete. The second bullet point should be amended
as follows:

"B is in a shadow tree which is a descendant tree (c.f. tree of tree concept)
of a shadow tree hosted by A *or a descendant of A*."

In the matching tables:

div ^ div: the cell for div#b and style2 should not match. This is because from
style2's perspective, div#b is not in a shadowRoot. There are a number of other
incorrect matches in this and the other tables that seem like the same mistake.

div:host tables: there should be no matches for any of these because div:host
should not match the host node. My understanding is that :host matches the host
element iff there is no selector to the left (possibly this is not true if it's
inside a css function).

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

Received on Wednesday, 9 October 2013 18:51:28 UTC