ISSUE-19

bg-size <number>

Multiply an image's intrinsic size

State:
CLOSED
Product:
CSS3 Backgrounds and Borders
Raised by:
Bert Bos
Opened on:
2008-04-04
Description:
People [reference lost] have suggested to allow the size of an image to be specified relative to its intrinsic size, thus 'background-size: 2' would render the image twice as big as it would be rendered by default and 'background-size: 0.5' would scale it down to half its size.

Arguments include rendering at a higher resolution to avoid anti-aliasing and rendering an image both at normal size and at a reduced size in a different element, for a kind of “thumbnail” effect.

The draft currently has a specification for this, which allows 'background-size' to take one or two numbers (the latter to scale horizontally and vertically by different amounts).

The default size (and the only possible size in level 2) is, of course, equivalent to 'background-size: 1'.
Related Actions Items:
No related actions
Related emails:
  1. [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
  2. Re: SVG Color Keywords Applicability (from fantasai.lists@inkedblade.net on 2008-05-13)
  3. Re: SVG Color Keywords Applicability (from dbaron@dbaron.org on 2008-05-13)
  4. Re: SVG Color Keywords Applicability (from Peter.Moulder@infotech.monash.edu.au on 2008-05-13)
  5. Re: SVG Color Keywords Applicability (from dbaron@dbaron.org on 2008-05-12)
  6. ISSUE-19 (bg-size <number>): Multiply an image's intrinsic size [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)

Related notes:

2008-05-12 12:36:00: GCPM proposes an 'image-resolution' property http://www.w3.org/TR/2007/WD-css3-gcpm-20070504/#image-resolution with similar function. Thus a 'background-image-resolution' may be an alternative. [Bert Bos]

2008-08-11 11:20:49: Closed no change. http://lists.w3.org/Archives/Public/www-style/2008May/0148.html [Elika Etemad]

Display change log ATOM feed


Peter Linss <peter.linss@hp.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Chairs, Chris Lilley <chris@w3.org>, Bert Bos <bert@w3.org>, Staff Contacts
Tracker, originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.231 2009/11/16 15:00:54 dom Exp $