Re: [csswg-drafts] [selectors] pseudo selector to match forms ValidityState

Just trying to think of something for the case of matching empty inputs fields in #1283 

if you had
```html
<input type="text value="">
```

Then the field isn't invalid if you leave it empty so writing a selector such as 

```css
input:invalid(value-missing) { }
```

feels wrong, The field is only invalid if you add `required` to it

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

Received on Friday, 16 June 2017 10:41:00 UTC