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

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 UTC