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

Re: error in css3-background 'background' example

From: Yves Lafon <ylafon@w3.org>
Date: Fri, 8 Jan 2010 15:55:18 -0500 (EST)
To: www-style@w3.org
Message-ID: <alpine.DEB.1.10.1001081552270.20946@wnl.j3.bet>
On Fri, 8 Jan 2010, Yves Lafon wrote:

And same issue in Example XVII...

> Hi,
> In [1], Example XV:
>
> p { background: url("chess.png") / 10em gray
>       40% round fixed border border}
>
> is equivalent to
>
> p {
>    background-color: gray;
>    background-position: 40% 50%;
>    background-size: 10em 10em;
>    background-repeat: round round;
>    background-clip: border-box;
>    background-origin: border-box;
>    background-attachment: fixed;
>    background-image: url(chess.png) }
>
> However... background-position occurs after background-size, despite the spec 
> saying:
> "where <bg-position> must occur before / <bg-size> if both are present"
>
>
> [1] http://www.w3.org/TR/2009/CR-css3-background-20091217/#the-background
>
>

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Friday, 8 January 2010 20:55:19 GMT

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