- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Mon, 17 Jun 2013 21:52:53 +0900
- To: www-style@w3.org
On 06/17/2013 08:57 PM, John Daggett wrote: > > http://dev.w3.org/csswg/css-text/#text-align > > The 'text-align' property in CSS3 Text has a 'start end' property > value defined as: > > # Specifies ‘start’ alignment of the first line and any line > # immediately after a forced line break; and ‘end’ alignment of any > # remaining lines not affected by ‘text-align-last’. > > But for the 'text-align-last' property, the default value 'auto' is > defined as: > > # If ‘auto’ is specified, content on the affected line is aligned per > # ‘text-align’ unless ‘text-align’ is set to ‘justify’. > > But the 'text-align-last' property has neither 'start end' or > 'match-parent' values. So if text-align-last is 'auto' does it behave > like the values of 'start end' and 'match-parent'? > > text-align: start end; > text-align-last: auto; > > What's the last line behavior? Is it "affected by 'text-align-last'" > in this case? Note that 'start end' is defined in a way that only > specifies behavior for lines unaffected by 'text-align-last'. The last line behaves however the definition of 'text-align' says it behaves. It's not saying that 'text-align-last' computes to the value of 'text-align', it says that 'text-align's definition defines how the last line behaves. Does that make sense? ~fantasai
Received on Monday, 17 June 2013 12:53:28 UTC