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

@fantasai so `:before` and `::before` are errors? And a pseudo-element that takes an argument would also be an error if you pass in `pseudo-with-argument(some-valid-argument)`?

The latter seems problematic for the `::part` pseudo-element, where you probably want to return different objects depending on the argument passed to the pseudo-element.

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

Received on Wednesday, 27 March 2019 08:10:02 UTC