W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css-counter-styles-3] 'width' descriptor: should negative integer values be invalid?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 9 Apr 2013 14:30:37 -0700
Message-ID: <CAAWBYDA_i+_xpAG5aLNpjNYu91zxyTXg9fN_7HPtUHbdppK7Ag@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style list <www-style@w3.org>
On Tue, Mar 12, 2013 at 4:50 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Hi,
>
> The current ED allows negative integer values for the 'width' descriptor.
> This is well-defined: the number of symbols can never be less than a
> negative number, so such a value has no effect (like 0, as in the initial
> value.)
>
> However there is no use case for negative values. 0 (or auto) always does
> the same.
>
> I don’t care much either way but the descriptor could make negative values
> invalid, for consistency with the 'orphans' and 'widows' properties.

Done.

~TJ
Received on Tuesday, 9 April 2013 21:31:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC