RE: [css-text] text-align-last and cascading

>> Just for the record, I faced a case where I wanted the alignment
>> of the last line to be "really normal" (ie: not an exception).
>> My idea initially was to provide a "no-exception" or "as-usual"
>> value for "text-align-last", so that if "text-align" is set to
>> "justify", the last line is also justified.
>>
>> Not to say I'm against "justify-all" but having
>> "text-align-last: as-usual"> would allow me to solve my problem
>> with CSS only where the current options force me to use JavaScript
>> to detect the current alignment and set "text-align-last" to
>> "justify" if "text-align" computed to "justify" which is rather
>> odd (but for now I've to rely on it anyway since blink/webkit do
>> not support text-align-last anyway).
>
> I'm not sure that would work out very well if 'text-align-last'
> is reset by 'text-align', though.

Is it the case today? I guess it's not and if so I would leave it that way.

It is possibly to specify a special computation algorithm for text-align-last that depends on the value for text-align so that you don't have to "reset" the property as a long-hand. Kinda like some display/position combination force float to compute to none. 		 	   		  

Received on Wednesday, 28 August 2013 17:00:08 UTC