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

@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