Re: [csswg-drafts] [css-pseudo-4] should CSSPseudoElement have a pseudo() method? (#3836)

Even if we don't have `pseudo()` on `CSSPseudoElement` itself, provided you can start a CSS animation/transition on the `::marker` for a `::before` (which I assume will be the case once #3876 is resolved), what should we return as the animation target in that case?

* Would it be a `CSSPseudoElement` with [`type`](https://drafts.csswg.org/css-pseudo-4/#dom-csspseudoelement-type) '::before::marker' and [`element`](https://drafts.csswg.org/css-pseudo-4/#dom-csspseudoelement-element) as per an un-stacked pseudo (i.e. the actual originating DOM `Element`)?
* Or would it have `type` '::marker' and `element` the parent `CSSPseudoElement`?
* Or just `type` '::marker' and the originating DOM `Element`? (Making it indistinguishable from the `::marker` pseudo on the `Element`.)

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3836#issuecomment-486865993 using your GitHub account

Received on Thursday, 25 April 2019 22:53:55 UTC