Showing content from https://github.com/w3c/csswg-drafts/issues/3603 below:
[css-pseudo-4] Should Element.pseudo("unknown") be an error or return null? · Issue #3603 · w3c/csswg-drafts · GitHub
Skip to content Navigation Menu
Saved searches Use saved searches to filter your results more quickly
Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Additional navigation options
[css-pseudo-4] Should Element.pseudo("unknown") be an error or return null? #3603
Description
We resolved to have an Element.pseudo(type) interface that returns a CSSPseudoElement. What happens if someone passes a type that isn't known to the implementation? Do we treat it as non-existent or do we throw an error?
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3