This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
:host is often used with :host, e.g. :host(div:host), :host(.foobar:host) and so on. So it would be better to change :host's parameter to match only shadow hosts. Instead, implement :ancestor (we need better name for this pseudo class) to have the same behavior as old :host.
Currently we have the following idea about "better name" for :ancestor, (1) :shadow-ancestor, (2) :host-ancestor
Does :ancestor not match self? Because that is named "inclusive ancestor" in the DOM... (I don't know what :host used to match, sorry.)
This should have been addressed in css-scoping spec. Let me close.