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

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

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Sun, 22 Mar 2015 13:43:52 +1100
Message-ID: <CAMdq698ejhdihGYNPckK=B1eHwxSeDi7sLH4OzZs_Ks4M64WjQ@mail.gmail.com>
To: www-style list <www-style@w3.org>
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.

- Xidorn
Received on Sunday, 22 March 2015 02:45:00 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:49 UTC