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

Re: [csswg-drafts] [web-animations-1] What if the effect target is a nested pseudo-element? (#4487)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Nov 2019 23:31:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-552031161-1573255867-sysbot+gh@w3.org>
@george-steel According to https://drafts.csswg.org/selectors-4/#typedef-pseudo-element-selector, `::before::marker` are 2 pseudo-element selectors, not just one.

And https://drafts.csswg.org/css-pseudo-4/#marker-pseudo says

> an originating element that is a pseudo-element needs to be explicitly specified in the selector, e.g. `::before::marker`.

so no, the originating element can be a pseudo-element.

AFAIK `::before::first-line` is an invalid combination. But `::first-line` is not tree-abiding, so `#foo::first-line` can have fragments inside `#foo::before`.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4487#issuecomment-552031161 using your GitHub account
Received on Friday, 8 November 2019 23:31:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:56 UTC