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

On Wednesday 2008-12-31 16:57 -0800, Brad Kemper wrote:
> Wow. OK. I didn't realize it would be that hard to get a reasonable  
> fallback value. In the case of decimal numbers, I would want the columns 

This was the discussion about fallback if text-align: <string> was
used on something not a table cell; not the case about fallback if
the cell doesn't have appropriate text.

> to be aligned on the decimal. That has got to be the most common use 
> case, no? Especially if you don't know how many decimal places will be in 
> each number. But if the same column happened to contain integers instead 
> of decimals, then I would want them to line up on the right. Always 
> (assuming they are values to be compared with one another).

I think for the case where the cell doesn't have the appropriate
text, assuming that the alignment text is right after the text of
the cell probably makes sense, given that the primary use case is
decimals.  (This would imply that when none of the cells have the
text, it's equivalent to text-align: end.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Thursday, 1 January 2009 01:06:09 UTC