Re: [whatwg] Add <input> "Switch" Type

On Tue, Nov 19, 2013 at 1:37 AM, Jonas Sicking <jonas@sicking.cc> wrote:

> Realistically speaking, I don't think this will help much at all. Few
> websites like using the default styling for form controls anyway and
> so people would be just as unhappy with the default switch rendering
> as they are with the default checkbox rendering.
>
> The real fix is to allow styling formcontrols. It's one of the most
> requested features from web developers, yet no one has taken the time
> to research what it would take to do it.
>
> I'm quite sure that if someone comes up with a comprehensive and well
> researched proposal, that browsers would jump on it.
>
> And the fact that we now have shadow DOM defined should help a whole lot.
>
>
+1, a switch is just a styled checkbox. We don't need more input types or
attributes, we just need to standardize how to style type=checkbox.

- E

Received on Tuesday, 19 November 2013 11:30:45 UTC