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

Re: [css3-background] background-size and zero length

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 11 May 2010 08:38:56 -0700
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <33A4703B-1E79-483A-A5D0-78E18D2A4A7A@gmail.com>
To: Brian Manthos <brianman@microsoft.com>

On May 11, 2010, at 7:04 AM, Brian Manthos wrote:

> Typo.  Mea culpa.
>  
> The style rule should have been...
>  
> div
> {
>         background: url(http://www.microsoft.com/favicon.ico) 5px 5px;
>         background-size: 0px 20px;
>         background-repeat:round;
>         width:12px;
>         height:17px;
> }
>  
> -Brian
>  
> [...] 
> How many images should be rendered and at what size?

An infinite number, with zero width for each tile. Rounding does not change that, because the "If X ≠ 0 is the width of the image after step one" part is not fulfilled. 

A tile with no width or no height cannot be drawn, so you shouldn't try.

That's how I understand it, anyway.


Received on Tuesday, 11 May 2010 15:39:34 GMT

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