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

[css3-background] background-position computed value

From: Brian Manthos <brianman@microsoft.com>
Date: Mon, 7 Nov 2011 19:26:52 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D1704455944@TK5EX14MBXC266.redmond.corp.microsoft.com>
http://www.w3.org/TR/css3-background/#the-background-position

Computed value:         If one or two values are specified, for a <length> the absolute length, otherwise a percentage. If three or four values are specified, two pairs of a keyword plus a length or percentage.

background-position: right 1px bottom 3px, 10em bottom, bottom, left 27px bottom 5px, 27px center, 50% center, center 5px, right 5% bottom 10%;

What's the computed value for this example?


(A)
background-position: right 1px bottom 3px, 12345px 100%, 50% 100%, left 27px bottom 5px, 27px, 50%, 50% 5px, right 5% bottom 10%, right 5px bottom 10%, left 5px bottom 10%;

(B)
background-position: right 1px bottom 3px, 12345px 100%, 50% 100%, left 27px bottom 5px, 27px, 50%, 50% 5px, 95% 90%, right 5px bottom 10%, 5px 90%;

(C)
Something else?


Note: The "12345px" occurrences in the above are a placeholder for the computed value of "10em".
Received on Monday, 7 November 2011 19:31:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT