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

RE: [css3-background] background-position computed value [ISSUE-197]

From: Brian Manthos <brianman@microsoft.com>
Date: Wed, 7 Dec 2011 19:01:13 +0000
To: Øyvind Stenhaug <oyvinds@opera.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D1704516674@TK5EX14MBXC264.redmond.corp.microsoft.com>
Here's an example from last night on IRC...

Case A:
	specified: center top 20px
	computed (background module): left 50% top 20px
	computed (OM module): 50% 20px

Case B:
	specified: center 20px
	computed (background module): 50% 20px
	computed (OM module): 50% 20px

I strongly prefer the OM module's guidance here.  The OM module supports that "center top 20px" and "center 20px" can be stored by the parser as equivalent.  The background module does not.

> -----Original Message-----
> From: Øyvind Stenhaug [mailto:oyvinds@opera.com]
> Sent: Wednesday, December 07, 2011 2:49 AM
> To: www-style@w3.org
> Subject: Re: [css3-background] background-position computed value
> [ISSUE-197]
> 
> On Wed, 07 Dec 2011 03:31:05 +0100, L. David Baron <dbaron@dbaron.org>
> wrote:
> 
> > (The getComputedValue() API is about used values, due to some
> > unfortunate turns of history.  I think what it does should be
> > specified in cssom-view.)
> 
> It is currently in CSSOM (not View).
> http://dev.w3.org/csswg/cssom/#resolved-values

> 
> --
> Øyvind Stenhaug
> Core Norway, Opera Software ASA
> 

Received on Wednesday, 7 December 2011 19:02:04 GMT

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