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

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 13 Jan 2009 19:15:34 -0800
Cc: CSS mailiing list W3C <www-style@w3.org>
Message-Id: <3279FB28-CDD5-4B82-B2A6-1E3B3CADF56B@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>


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 GMT

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