- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Tue, 13 Jan 2009 19:15:34 -0800
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: CSS mailiing list W3C <www-style@w3.org>
On Jan 13, 2009, at 6:52 PM, fantasai wrote:
> Brad Kemper wrote:
>> ... if I class something to align on a decimal in a table cell, I
>> might want it to be right aligned if that class was applied to
>> something other than a table cell, and I could put that in the rule
>> like this:
>> { text-align:right; text-align: '.'; }
>
> Can't do that. The cascade happens before style computation.
> But what we /could/ do is to allow both a keyword and a string.
>
> td { text-align: right '.'; }
>
> This would also give control over what happens when there's lots
> of extra room in the cells, or when the alignment string doesn't
> appear in the text.
>
> ~fantasai
I like it.
Received on Wednesday, 14 January 2009 03:16:14 UTC