W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

Re: [csswg-drafts] [web-animations-1] Clarification about `target` and `pseudoElement` relationship (#4745)

From: George Steel via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Mar 2020 06:03:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-596919726-1583820227-sysbot+gh@w3.org>
@birtles The main reason for allowing unsupported pseudo-elements is to allow `target` and `pseudoElement` to be set in either order (since supported pseudo-elements can vary between elements). It is also consistent with getComputedStyle().

@lpd-au the correct way is to listen for an animation event (which should always fire on the originating element, like all DOM events) and check its pseudoElement property (of the event).

GitHub Notification of comment by george-steel
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4745#issuecomment-596919726 using your GitHub account
Received on Tuesday, 10 March 2020 06:04:22 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC