ISSUE-19: Multiply an image's intrinsic size

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. [CSSWG] Minutes Telecon 2014-07-09 (from daelcss@gmail.com on 2014-07-10)
  2. [css-flexbox] CR Disposition of Comments (from fantasai.lists@inkedblade.net on 2014-03-17)
  3. Re: [css-masking] editorial changes - spec update (from dschulze@adobe.com on 2013-12-12)
  4. [CSSWG] Minutes Telecon 2013-07-24 (from fantasai.lists@inkedblade.net on 2013-07-24)
  5. Agenda Requests for Flexbox & CSS2.1, etc. (from fantasai@inkedblade.net on 2013-05-01)
  6. Re: [css3-values] inaccurate statements about syntax/grammar (from fantasai.lists@inkedblade.net on 2012-07-16)
  7. [CSSWG] Minutes and Resolutions Telcon 2012-05-02 [CORRECTED] (from fantasai.lists@inkedblade.net on 2012-05-06)
  8. Re: reconstructed minutes (please verify) (from prowse@moonhenge.net on 2012-05-05)
  9. Re: reconstructed minutes (please verify) (from peter.linss@hp.com on 2012-05-04)
  10. reconstructed minutes (please verify) (from fantasai@inkedblade.net on 2012-05-03)
  11. RE: [css3-regions] How should elementFromPoint interact with Regions? (from alexmog@microsoft.com on 2012-01-24)
  12. [CSSWG] Minutes and Resolutions TPAC 2011-10-30 Sunday Morning: Issue Tracking, Regions (from fantasai.lists@inkedblade.net on 2011-11-28)
  13. RE: [css3-regions] more API for NameFlow (from vhardy@adobe.com on 2011-10-25)
  14. RE: [css3-regions] more API for NameFlow (from alexmog@microsoft.com on 2011-10-17)
  15. RE: [css3-regions] iframe as content source (from alexmog@microsoft.com on 2011-09-08)
  16. Re: [css3-ui] 'overflow-x' 'overflow-y' properties (was Re: [css3-selectors] What's the point of :empty?) (from fantasai.lists@inkedblade.net on 2011-07-01)
  17. Re: [css3-ui] 'overflow-x' 'overflow-y' properties (was Re: [css3-selectors] What's the point of :empty?) (from tantek@cs.stanford.edu on 2011-06-30)
  18. [css3-ui] 'overflow-x' 'overflow-y' properties (was Re: [css3-selectors] What's the point of :empty?) (from tantek@cs.stanford.edu on 2011-03-01)
  19. [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
  20. Re: SVG Color Keywords Applicability (from fantasai.lists@inkedblade.net on 2008-05-13)
  21. Re: SVG Color Keywords Applicability (from dbaron@dbaron.org on 2008-05-13)
  22. Re: SVG Color Keywords Applicability (from Peter.Moulder@infotech.monash.edu.au on 2008-05-13)
  23. Re: SVG Color Keywords Applicability (from dbaron@dbaron.org on 2008-05-12)
  24. 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:

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, 12 May 2008, 12:36:00

Closed no change. http://lists.w3.org/Archives/Public/www-style/2008May/0148.html

Elika Etemad, 11 Aug 2008, 11:20:49

Changelog:

Created issue 'Multiply an image's intrinsic size' nickname bg-size <number> owned by Bert Bos on product CSS3 Backgrounds and Borders, 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'.' non-public

Bert Bos, 4 Apr 2008, 15:25:26

Status changed to 'open'

4 Apr 2008, 15:25:33

Status changed to 'closed'

Elika Etemad, 11 Aug 2008, 11:20:49


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: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.325 2014-09-10 21:42:02 ted Exp $