W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css-syntax] Do not require digits after decimal point for number tokens

From: Lea Verou <lea@verou.me>
Date: Tue, 29 Jul 2014 22:42:27 +0300
Message-Id: <9AFBAA4D-7E5D-44CC-878C-6685D0CFD727@verou.me>
To: www-style list <www-style@w3.org>
On Jul 29, 2014, at 22:20, Lea Verou <lea@verou.me> wrote:

> When the author is editing non integer lengths (e.g. from 2.5px to 2.9px), it usually goes like this (| denotes the caret):
> 2.5px|
> 2.5|px
> 2.|px
> 2.9|px
> Instead of being able to observe the result of their changes, all they see is a flash, since the 3rd step makes the value invalid, then it jumps back to 2.9px. It sounds trivial, but itís encountered so frequently that itís incredibly annoying.

Actually, I just realized my example doesn't demonstrate what I meant. The numbers should have been 2px to 2.1px:

Received on Tuesday, 29 July 2014 19:42:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:45 UTC