ISSUE-20: Does 'backgound-repeat: round' shrink or stretch images?

stretch vs shrink

Does 'backgound-repeat: round' shrink or stretch images?

State:
CLOSED
Product:
CSS3 Backgrounds and Borders
Raised by:
Bert Bos
Opened on:
2008-04-04
Description:
The current draft says that 'background-repeat: round' shrinks images, if needed, so that exactly a whole number of images tiles the background. If a background image is almost as wide as the element, say 99%, that means it gets scaled down by almost 50% to make room for a second image. Should the image instead be scaled up by 1% in such a case?

Counter argument: it's rare that images are scaled down by much, because 'round' is typically used when the author expects more than two tiles; and scaling up usually makes for uglier results than scaling down.
Related Actions Items:
No related actions
Related emails:
  1. Re: [css-masking] editorial changes - spec update (from fantasai.lists@inkedblade.net on 2013-12-16)
  2. Re: [css-masking] editorial changes - spec update (from dschulze@adobe.com on 2013-12-12)
  3. Re: [css-flexbox] Open Issues / Publishing LC? (from fantasai@inkedblade.net on 2013-07-18)
  4. Re: [css3-values] inaccurate statements about syntax/grammar (from fantasai.lists@inkedblade.net on 2012-07-16)
  5. [CSSWG] Minutes and Resolutions Telcon 2012-05-02 [CORRECTED] (from fantasai.lists@inkedblade.net on 2012-05-06)
  6. Re: reconstructed minutes (please verify) (from peter.linss@hp.com on 2012-05-04)
  7. reconstructed minutes (please verify) (from fantasai@inkedblade.net on 2012-05-03)
  8. [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
  9. ISSUE-20 (stretch vs shrink): Does 'backgound-repeat: round' shrink or stretch images? [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)

Related notes:

Closed no change.

Elika Etemad, 11 Aug 2008, 10:06:25

Changelog:

Created issue 'Does 'backgound-repeat: round' shrink or stretch images?' nickname stretch vs shrink owned by Bert Bos on product CSS3 Backgrounds and Borders, description 'The current draft says that 'background-repeat: round' shrinks images, if needed, so that exactly a whole number of images tiles the background. If a background image is almost as wide as the element, say 99%, that means it gets scaled down by almost 50% to make room for a second image. Should the image instead be scaled up by 1% in such a case?

Counter argument: it's rare that images are scaled down by much, because 'round' is typically used when the author expects more than two tiles; and scaling up usually makes for uglier results than scaling down.' non-public

Bert Bos, 4 Apr 2008, 15:34:37

Status changed to 'open'

4 Apr 2008, 15:34:45

Status changed to 'closed'

Elika Etemad, 11 Aug 2008, 10:03:51


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.323 2013-12-19 14:47:09 dom Exp $