On Fri, Dec 12, 2014 at 2:59 PM, Andrew Sutherland
<asutherl...@asutherland.org> wrote:
> Is it reasonable to try and standardize support for an "allow-show-password"
> boolean attribute and corresponding allowShowPassword property on HTML
> inputs with type=password?  There would also be a showPassword property.
> When allowShowPassword is true, a checkbox with "Show password" would be
> displayed.  When showPassword is true, the contents of the password field
> would be displayed.  (Note: I've done some preliminary web searches
> (bugzilla, whatwg lists) and haven't seen real discussion on this, but I
> could be wrong/bad at searching.)

I think there would be very little appetite for a "complex" HTML
widget which contains both a textfield and a checkbox.

The problem is that HTML is absolutely horrible at allowing forms to
be styled. And so authors are abandoning using HTML forms at a pretty
large scale.

This is also why we haven't seen desktop browsers picking up controls
like <input type=date> because there's little confidence that authors
would use it because they couldn't style it.

Until we solve the styling problem, I don't think we should add any
more complex form widgets. Sad as that is.

To my knowledge no one is working on enabling form controls to be
styled. I wish someone would.

What *might* be possible is to define a "showPassword" property and
attribute. But an important question is, is there enough of a
difference between <input type=password showpassword> and <input
type=text> that that's worth it?

/ Jonas
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to