- From: Robert Flack via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 Oct 2024 19:25:33 +0000
- To: public-css-archive@w3.org
> Throwing is not web compatible for `getComputedStyle`, see #6501 Thanks for the reference. We should still resolve whether or not we want to throw here, and if it makes sense that we throw when trying to set the target or contruct an animation for an invalid pseudo elment selector. My read of the linked discussion is that we decided not to throw for getComputedStyle for compat reasons only, so I guess I'd propose that we throw for `Element.getAnimations({pseudoElement: <invalid>})` to be self consistent within web-animations with setting an invalid target pseudo and make it likely developers would see the error. -- GitHub Notification of comment by flackr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11081#issuecomment-2438639827 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 25 October 2024 19:25:33 UTC