[csswg-drafts] [selectors-4] :defined

annevk has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors-4] :defined ==
HTML defines `:defined`: https://html.spec.whatwg.org/multipage/semantics-other.html#selector-defined.

1. Is that enough for a definition of a new pseudo-class?
2. Is it fine for HTML to define this?
3. Should Selectors contain a registry of externally defined selectors?

(I'm asking this in part since we're considering a `:heading(level)` pseudo-class.)

See also: https://github.com/w3c/webcomponents/issues/665.

cc @domenic 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2258 using your GitHub account

Received on Friday, 2 February 2018 08:23:02 UTC