Re: [csswg-drafts] [css-pseudo-4] Should Element.pseudo("unknown") be an error or return null? (#3603)

I'm cool with returning `null` here. As François says, there's value in doing simple tests to see if a pseudo is supported at all. If you actually try to *use* it, `null` will quickly throw an error anyway. (`null.style` throws immediately)

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

Received on Monday, 25 February 2019 15:16:33 UTC