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:
- [CSSWG] Minutes Seattle F2F 2017-01-11 Part II: Text Breakout - Hyphenation, Text Decoration (from daelcss@gmail.com on 2017-02-13)
- [css-text-decor-3] Updated DoC, open issues (from fantasai.lists@inkedblade.net on 2016-12-27)
- [csswg] Agenda conf call 7-Sep-2016 (from stearns@adobe.com on 2016-09-07)
- [css-grid] Open Issues (from fantasai@inkedblade.net on 2016-09-06)
- Re: Call for agenda items (and/or cancelling this week's call) (from mmaxfield@apple.com on 2016-01-27)
- Re: Call for agenda items (and/or cancelling this week's call) (from gwhit@microsoft.com on 2016-01-27)
- Re: Call for agenda items (and/or cancelling this week's call) (from jackalmage@gmail.com on 2016-01-26)
- Call for agenda items (and/or cancelling this week's call) (from Rossen.Atanassov@microsoft.com on 2016-01-26)
- [CSSWG] Minutes Telecon 2016-01-20 [css-grid] [css-snappoints] (from daelcss@gmail.com on 2016-01-20)
- [csswg] Agenda conf call 20-Jan-2016 (from stearns@adobe.com on 2016-01-20)
- Agenda+ Grid Issues (from fantasai@inkedblade.net on 2016-01-19)
- [CSSWG] Minutes Telecon 2015-10-07 [css-2015] [css-text] [cssom-view] [css-writing-modes] [css-logical-properties] [css-grid] [css-flexbox] [css-break] (from daelcss@gmail.com on 2015-10-08)
- [CSSWG] Minutes Telecon 2014-07-09 (from daelcss@gmail.com on 2014-07-10)
- [css-flexbox] CR Disposition of Comments (from fantasai.lists@inkedblade.net on 2014-03-17)
- Re: [css-masking] editorial changes - spec update (from dschulze@adobe.com on 2013-12-12)
- [CSSWG] Minutes Telecon 2013-07-24 (from fantasai.lists@inkedblade.net on 2013-07-24)
- Agenda Requests for Flexbox & CSS2.1, etc. (from fantasai@inkedblade.net on 2013-05-01)
- Re: [css3-values] inaccurate statements about syntax/grammar (from fantasai.lists@inkedblade.net on 2012-07-16)
- [CSSWG] Minutes and Resolutions Telcon 2012-05-02 [CORRECTED] (from fantasai.lists@inkedblade.net on 2012-05-06)
- Re: reconstructed minutes (please verify) (from prowse@moonhenge.net on 2012-05-05)
- Re: reconstructed minutes (please verify) (from peter.linss@hp.com on 2012-05-04)
- reconstructed minutes (please verify) (from fantasai@inkedblade.net on 2012-05-03)
- RE: [css3-regions] How should elementFromPoint interact with Regions? (from alexmog@microsoft.com on 2012-01-24)
- [CSSWG] Minutes and Resolutions TPAC 2011-10-30 Sunday Morning: Issue Tracking, Regions (from fantasai.lists@inkedblade.net on 2011-11-28)
- RE: [css3-regions] more API for NameFlow (from vhardy@adobe.com on 2011-10-25)
- RE: [css3-regions] more API for NameFlow (from alexmog@microsoft.com on 2011-10-17)
- RE: [css3-regions] iframe as content source (from alexmog@microsoft.com on 2011-09-08)
- 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)
- 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)
- [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)
- [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
- Re: SVG Color Keywords Applicability (from fantasai.lists@inkedblade.net on 2008-05-13)
- Re: SVG Color Keywords Applicability (from dbaron@dbaron.org on 2008-05-13)
- Re: SVG Color Keywords Applicability (from Peter.Moulder@infotech.monash.edu.au on 2008-05-13)
- Re: SVG Color Keywords Applicability (from dbaron@dbaron.org on 2008-05-12)
- 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:00Closed no change. http://lists.w3.org/Archives/Public/www-style/2008May/0148.html
Elika Etemad, 11 Aug 2008, 11:20:49Display change log