- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Tue, 27 Aug 2013 23:26:46 -0700
- To: www-style@w3.org
On 08/20/2013 06:33 PM, François REMY wrote: > ± > Full proposal would be: > ± > > ± > text-align: <alignment-values>{1,2} | justify-all; > ± > -> text-align-all: <alignment-values>; > ± > -> text-align-last: auto | <alignment-values>; > > 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). Hm, maybe like a 'match-all' value, or 'auto-justify' or something? I'm not sure that would work out very well if 'text-align-last' is reset by 'text-align', though. ~fantasai
Received on Wednesday, 28 August 2013 06:27:19 UTC