Order of background shorthand property

The validator silently changes the order of the background shorthand
property, but gives no warnings.  Mozilla and Safari both ignore the
background shorthand property if given an invalid order (some like
border accept out-of-order values).  IE (and seemingly Opera) both
accept an invalid order.

(Maybe Mozilla and Safari fail on missing properties.)

For example, with the rule:

#main1 {
  width: 755px;
  background: url("background.png") top left repeat-y;
}

The validator returns:

#main1 {
  width: 755px;
  background: url("background.png") repeat-y 0% 0%;
}

Note that the background-position and background-repeat properties have
been swapped, should this give a warning?.  I'm unsure what CSS or CSS2
has to say about ordering of shorthand properties.

-- 
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

Received on Wednesday, 2 June 2004 12:04:45 UTC