W3C home > Mailing lists > Public > www-style@w3.org > August 2011

RE: Splitting background-position in two different attributes

From: Brian Manthos <brianman@microsoft.com>
Date: Thu, 18 Aug 2011 00:46:08 +0000
To: Jonathan Snook <jonathan@snook.ca>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17122F8B@TK5EX14MBXC264.redmond.corp.microsoft.com>
Jonathan Snook:
> For example, something like this:
div {
> background-image: url(a.png), url(b.png), url(c.png), url(d.png);
> background-position: 0 0, 100% 100%;
> background-repeat: no-repeat;
> What should an OM query for 'background' return? Is it constructable?

>From an IE perspective:
Empty string.  It is not constructible because (a) you are missing 5 properties and (b) the layer counts for the specified properties are inconsistent.

>From a W3C perspective:
Please point me to the specification and section that explicitly indicate what the correct answer is for CSS3.  I cannot find it.

This is part of why I said:
> I think getting the serialization addressed before throwing more into the entanglement that is background is preferred.
Received on Thursday, 18 August 2011 00:46:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:48 UTC