- From: Jeff Walden <jwalden@MIT.EDU>
- Date: Wed, 24 Feb 2010 13:32:14 -0800
- To: www-style@w3.org
background-repeat is a comma-separated list of <repeat-style>. The grammar for that is: <repeat-style> = repeat-x | repeat-y | [repeat | space | round | no-repeat]{1,2} The list of meanings for the single-value cases is in this order: ‘repeat-x’ ‘repeat-y’ ‘repeat’ ‘no-repeat’ ‘space’ ‘round’ The list of meanings for the double-value cases is in this order: ‘repeat’ ‘no-repeat’ ‘space’ ‘round’ These two lists are ordered consistently with each other but not with the <repeat-style> grammar. It would seem slightly better to use this grammar (only change is a semantically-equivalent reordering) instead, so that the order of terms in <repeat-style> is the same as the orders in the explanations: <repeat-style> = repeat-x | repeat-y | [repeat | no-repeat | space | round]{1,2} Jeff
Received on Wednesday, 24 February 2010 21:32:49 UTC