RE: [css3-background] Editorial: background shorthand missing 'background-image' assignment?

Refer to section 3.1 ...
http://www.w3.org/TR/css3-background/#layering


I believe mental model was similar to what led to this...
# If a property doesn't have enough comma-separated
# values to match the number of layers

For images, this will never be the case because background-image is what drives how many layers there are.


I suspect that thinking spilled over into the section you quoted.

I concur that the 3.10 should probably be improved.



-----Original Message-----
From: Kang-Hao (Kenny) Lu [mailto:kennyluck@csail.mit.edu] 
Sent: Tuesday, March 06, 2012 5:47 PM
To: WWW Style
Subject: [css3-background] Editorial: background shorthand missing 'background-image' assignment?

3.10. Backgrounds Shorthand: the ‘background’ property

  # Given a valid declaration, for each layer the shorthand first sets
  # the corresponding layer of each of ‘background-position’,
  #‘background-size’, ‘background-repeat’, ‘background-origin’,
  #‘background-clip’ and ‘background-attachment’ to that property's
  # initial value, then assigns any explicit values specified for this
  # layer in the declaration.

Unless I am missing something, 'background-image' is missing here...

Received on Wednesday, 7 March 2012 04:27:46 UTC