W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: Minimum viable custom elements

From: Chris Bateman <chrisb808@gmail.com>
Date: Mon, 2 Feb 2015 07:50:14 -0600
Message-ID: <CA+wC_+t3iTrfgYxamNgh0f6s1gH7B5WJ3GL4yHUbjihP0Z7bQw@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Steve Faulkner <faulkner.steve@gmail.com>, WebApps WG <public-webapps@w3.org>
That does not prevent the entering of alphabetic characters, does not add
commas, and does not format to a precise number of decimals . Maybe you'd
argue that these things shouldn't be done - but I'd think the existence of
multiple libraries that do these things demonstrates that it's a valid need.


On Mon, Feb 2, 2015 at 4:36 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> On Sat, Jan 31, 2015 at 7:40 PM, Chris Bateman <chrisb808@gmail.com>
> wrote:
> > The -webkit-appreance CSS is definitely another issue, so here's an
> example
> > with just JS behavior:
> >
> > <input is="number-input" decimals="2">
>
> The way to do this, FWIW, is <input type=number step=0.01> and solve
> the styling issue.
>
>
> --
> https://annevankesteren.nl/
>
Received on Monday, 2 February 2015 15:30:02 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:25 UTC