W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: [css-lists] Make ::marker use tabular variant for numbers by default

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 25 Mar 2015 15:08:38 -0700
Message-ID: <CAAWBYDCfU6DAH+Rn1uxRPph3XGoAk8fC7=aF9vzvWm9oK9UFEQ@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
On Sat, Mar 21, 2015 at 7:43 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> In some fonts, numbers are proportional by default, which could cause
> undesired result in list markers.
>
> I propose we add "font-variant-numeric: tabular-nums;" to the default
> stylesheet of ::marker pseudo element to avoid using proportional number by
> default.
>
> This rule has been used in Firefox since 32.

This seems reasonable to me, and since Firefox has had it for a while,
I'm comfortable with adding it.

Technically this goes in the Pseudo-Elements 4 spec, then, as that's
gonna be the new home for ::marker for now.

~TJ
Received on Wednesday, 25 March 2015 22:09:26 UTC

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