W3C home > Mailing lists > Public > public-digipub-ig@w3.org > December 2015

Re: text-align examples

From: Florian Rivoal <florian@rivoal.net>
Date: Tue, 1 Dec 2015 15:29:30 +0900
Cc: Hiroshi Sakakibara <sakakibara.hiroshi@bpsinc.jp>, Ivan Herman <ivan@w3.org>, W3C Digital Publishing IG <public-digipub-ig@w3.org>
Message-Id: <B8EC7541-8FA2-4E1C-BB3D-326945F7C7AF@rivoal.net>
To: Koji Ishii <kojiishi@gmail.com>

> On 01 Dec 2015, at 14:59, Koji Ishii <kojiishi@gmail.com> wrote:
> I'm intermittent on this thread, sorry if it was already discussed and I missed, but it looks like it's mostly about numbers, correct?
> Assuming so, it'd be great if you could classify which use cases can be solved by tabular-num[1] and which cannot.
> [1] https://drafts.csswg.org/css-fonts-3/#tabular-nums <https://drafts.csswg.org/css-fonts-3/#tabular-nums>
So far, we were focused on gathering uses cases, rather than looking into how to solve them.

That said, when looking at the numerical uses cases, tabular numbers form part of the solution, but only part. Once you've aligned the relevant character (".", or "," etc), they make things look neat. But they alone cannot align the "." in "102.3" and "1.050".

Also, even if you have the same number of digits before and after the decimal point, they don't necessarily help if if you're using for example different font weights on different rows of the table.

So, they useful, but not sufficient on their own.

 - Florian
Received on Tuesday, 1 December 2015 06:30:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:36:20 UTC