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

FWIW, we also need to fix the spec text for [`KeyframeEffectOptions.pseudoElement`](https://drafts.csswg.org/web-animations-1/#dom-keyframeeffectoptions-pseudoelement). It currently says,

> The pseudo-element selector (which must be valid or null) used to specify the effect target given the target element.

but it doesn't make any sense to claim that the selector must be valid. It's a dictionary so the author can set it to whatever they like. If we want to restrict the set of valid values we need to define the behavior at the points where it is accepted. Presumably that behavior will match what we do here for the `KeyframeEffect.pseudoElement` setter (this issue).

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4586#issuecomment-568360267 using your GitHub account

Received on Monday, 23 December 2019 05:26:52 UTC