W3C home > Mailing lists > Public > www-style@w3.org > September 2012

[css3-text] spacing limits definition

From: Yves Lafon <ylafon@w3.org>
Date: Mon, 3 Sep 2012 16:54:04 -0400 (EDT)
To: www-style@w3.org
Message-ID: <alpine.DEB.1.10.1209031646270.10837@wnl.j3.bet>
Hi,
In the last WD [1], we have the following grammar:
<<
letter-spacing 	<spacing-limits>
word-spacing 	<spacing-limits>
>>
However, when looking at the spacing-limits definition I see this:
<<
[..]
<spacing-limits> = [ normal | <length> | <percentage>]{1,3}
[..]
<percentage>
   Specifies the additional spacing as a percentage of the affected
   character's advance measure. Only valid on 'word-spacing'
>>

So we have the same definition, but it's not the same! Not that useful for 
a factorization.
How about saying instead:

word-spacing is [ normal | <length> | <percentage>]{1,3}
letter-spacing is [ normal | <length> ]{1,3}, and the semantic of the 
values is defined in word-spacing ?
Cheers,

[1] http://www.w3.org/TR/2012/WD-css3-text-20120814/

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Monday, 3 September 2012 20:54:06 GMT

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