Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is a bunch of features that solve problems I have margin-trim, lh and :user-valid will all allow me to improve code in my projects. Unfortunately they aren't supported anywhere yet (except for :user-valid on Firefox). I would love to see the other browsers roll out support.


I tried :user-valid on Firefox and I can't see this supposed checkmark that's supposed to appear https://developer.mozilla.org/en-US/docs/Web/CSS/:user-valid


Remember you need to interact with it first (e.g. modify the value)—that’s the whole point of :user-valid. (That is: works for me, and this is all I can think of that would make it appear not to work.)


I did modify it and blur https://i.imgur.com/D04xIia.png

No error on empty string either


This is :user-valid and an email field.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: