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

Re: [csswg-drafts] [web-animations] Error handling in KeyframeEffect.pseudoElement (#4586)

From: Brian Birtles via GitHub <sysbot+gh@w3.org>
Date: Thu, 12 Dec 2019 23:28:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-565233059-1576193305-sysbot+gh@w3.org>
> Is there any way to add error detection to 4?

Look up the computed style for the pseudo and see if it is being animated? What's the use case where you want to do error detection on a if a pseudo is valid or not?

Given you can't set style on an arbitrary pseudo from JS presently with constructing a stylesheet, I wonder if being able to animate an arbitrary pseudo from Web Animations API is necessary. Can we make this read-only initially and then make it writable later?

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4586#issuecomment-565233059 using your GitHub account
Received on Thursday, 12 December 2019 23:28:27 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:05 UTC