W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: [CSS3] CSS Text Level 3, 6.1: text-align: string

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 31 Dec 2008 23:35:25 -0500
To: Brad Kemper <brkemper@comcast.net>
Cc: www-style@w3.org
Message-ID: <20090101043525.GA17004@pickering.dbaron.org>

On Wednesday 2008-12-31 17:27 -0800, Brad Kemper wrote:
> On Dec 31, 2008, at 4:41 PM, L. David Baron wrote:
>>> Although I do think that it should perhaps say something like that for
>>> what happens if the character is not in the text of the table cell (I
>>> haven't tested that, but in the most common use case of decimal
>>> alignment, I image end-edge would be preferred, if there is not
>>> decimal/period/full-stop character).
>>
>> Agreed that it needs to say something.  (I vaguely remember brining
>> that issue up many years ago.)  For that case, the start-edge is
>> probably preferred, so you get:
>>   $4.99
>>  $50
>
> I disagree. Consider a column with decimal alignment styling, that may  
> contain either decimals or integers, but usually not both in the same  
> table. I that case, I would want the following (numbers with no decimal) 
> to be right aligned:
>
>       599
> 6,000,000
>    20,272
>         5

Agreed.  I meant to say end-edge but for some reason I wrote
start-edge.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 1 January 2009 04:36:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:15 GMT