[csswg-drafts] [selectors] :user-error or :user-invalid?

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

== [selectors] :user-error or :user-invalid? ==
Selectors spec sometimes uses `:user-error` and sometimes `:user-invalid`, presumably to refer to the same thing.

> [**2. Selectors Overview**](https://drafts.csswg.org/selectors/#overview)
> 
>  | Pattern | Represents | Section | Level | 
>  |---------|------------|---------|-------|
>  | `E:user-error` | a user-altered user-input element E with incorrect input (invalid, out-of-range, omitted-but-required) | [§12.3.4 The User-interaction Pseudo-class: `:user-invalid`](https://drafts.csswg.org/selectors/#user-pseudos) | 4  |
> 
> [**12.3.4 The User-interaction Pseudo-class: `:user-invalid`**](https://drafts.csswg.org/selectors/#user-pseudos) (https://drafts.csswg.org/selectors/#user-error-pseudo)
> 
> The `:user-invalid` pseudo-class represents an element with incorrect input, but only after the user has significantly interacted with it. The `:user-error` pseudo-class must match [...] For example, a UA may choose to have `:user-error` match [...]
> 
> > **Example 38**
> > For example, the input in the following document fragment [...] won’t match `:user-error` [...]
> 
> [**§ Terms defined by this specification**](https://drafts.csswg.org/selectors/#index-defined-here)
> 
> [`:user-invalid`](https://drafts.csswg.org/selectors/#user-error-pseudo), in §12.3.4 

This problem was noticed in #579, which was closed by mistake, so I'm posting this new issue so that it's not lost. Feel free to close this and reopen the old one.

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

Received on Saturday, 6 May 2017 20:36:39 UTC