- From: John Daggett <jdaggett@mozilla.com>
- Date: Mon, 17 Jun 2013 04:57:14 -0700 (PDT)
- To: www-style list <www-style@w3.org>
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'. Overall, I think it's really unfortunate to have property definitions with property values that are conditional upon the value of other properties like this. It's really hard to grok the behavior given all the combinations. Regards, John Daggett
Received on Monday, 17 June 2013 11:57:46 UTC