W3C home > Mailing lists > Public > www-style@w3.org > September 2010

RE: [css3-backgrounds] Example XV inconsistent with prose of section 3.6

From: Brian Manthos <brianman@microsoft.com>
Date: Mon, 13 Sep 2010 23:55:55 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <FA122FEC823D524CB516E4E0374D9DCF0FCE7A75@TK5EX14MBXC132.redmond.corp.microsoft.com>
For rendering yes, for OM no...

- Brian

> -----Original Message-----
> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
> Sent: Monday, September 13, 2010 4:54 PM
> To: Brian Manthos
> Cc: www-style@w3.org
> Subject: Re: [css3-backgrounds] Example XV inconsistent with prose of
> section 3.6
> 
> On Mon, Sep 13, 2010 at 4:47 PM, Brian Manthos
> <brianman@microsoft.com> wrote:
> > http://dev.w3.org/csswg/css3-background/

> > 3.6  The ‘background-position’ property If only one value is
> > specified, the second value is assumed to be ‘center’.
> >
> > 3.10  The ‘background’ shorthand property p { background: 40%
> > url("chess.png") / 10em gray
> >        round fixed border-box; }
> > is equivalent to:
> > …
> > background-position: 40% 50%;
> > …
> >
> >
> > I believe this is incorrect.
> >
> > The equivalent is
> >         background-position: 40% center; or
> >         background-position: 40%;
> >
> >
> > Am I misunderstanding?
> 
> 'center' and '50%' are equivalent in the context of a background-position.
> 
> ~TJ

Received on Monday, 13 September 2010 23:56:31 GMT

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