Re: :host pseudo-class

On Sat, Apr 25, 2015 at 8:59 PM, Daniel Tan <lists@novalistic.com> wrote:
> My guess is it's because a shadow host element is an element, not a
> pseudo-element.

I think a pseudo-element makes more sense as it represents an
element/box not accessible within the tree, whereas a pseudo-class
represents an element/box with an internal flag set accessible within
the tree.

Potentially we could have a new kind of selector representing an
actual element not accessible within the tree, but browser vendors by
and large have decided to use pseudo-elements, e.g.
::-webkit-slider-thumb.


> Does the following note in css-scoping 3.1.1 answer your question?

No.


-- 
https://annevankesteren.nl/

Received on Monday, 27 April 2015 03:26:47 UTC