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

Re: [css-counter-styles] Applicability of 'pad'

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 21 Feb 2014 12:49:53 -0800
Message-ID: <CAAWBYDCz7yFsaBsxhtubpWjtyja+ehjPWtQtwLFk5pjTTH_EiA@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
On Mon, Feb 17, 2014 at 2:09 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> On Tue, Feb 18, 2014 at 2:50 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> On the subject of decimal-leading-zero, I should actually just rewrite
>> that as as decimal override with "pad: 2 '0';".  That option wasn't
>> available before!
>
> If you rewrite the style with that, it will only produce leading zero
> for non-negative values, while your current draft generates leading
> zero for negatives as well. Though, I don't think it's a bad idea,
> since it is not clear what form should be applied to negative ones in
> CSS2.1. Currently, Gecko generates -1, -2 for it, and WebKit generates
> -01, -02.

All right, decimal-leading-zero has been rewritten accordingly.

~TJ
Received on Friday, 21 February 2014 20:50:40 UTC

This archive was generated by hypermail 2.3.1 : Friday, 21 February 2014 20:50:41 UTC