[csswg-drafts] [ui] Consider specifying `text-security` property

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

== [ui] Consider specifying `text-security` property ==
An increasing number of sites have switched their login forms from using `<input type=password>` to `<input type=text>` for password input, in order to provide the ability to toggle display of the password text. This has the unfortunate side effect of preventing client-side password/account managers from correctly filling the form. We should spec the ability to toggle display of the contents of `<input type=password>` to help sites avoid breaking such account managers.

WebKit implements `<input type=password>` styling with a `-webkit-text-security` property, for which there are several polyfills out there for other browsers (e.g. noppa/text-security), so perhaps it's the right cowpath to pave here.

It's worth noting that it's sometimes desirable to obscure the text of other inputs—`<input type=tel>`, for instance.

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

Received on Tuesday, 3 April 2018 17:35:46 UTC