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

> 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