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

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

From: Brian Manthos <brianman@microsoft.com>
Date: Wed, 7 Mar 2012 04:27:09 +0000
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>, WWW Style <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17128B1B3D@TK5EX14MBXC266.redmond.corp.microsoft.com>
Refer to section 3.1 ...

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:13 UTC