W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2013

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

From: Elliott Sprehn <esprehn@chromium.org>
Date: Tue, 19 Nov 2013 03:29:39 -0800
Message-ID: <CAO9Q3iJoshgVYpKNajxEzez6ud-_4mrTxPv2z--d0dSdD15EXQ@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: WHAT Working Group <whatwg@lists.whatwg.org>, Mikko Rantalainen <mikko.rantalainen@peda.net>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:14 UTC