W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

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

From: Brian Birtles via GitHub <sysbot+gh@w3.org>
Date: Thu, 25 Apr 2019 22:53:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-486865993-1556232832-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:07 UTC