ISSUE-24: Does the 'background' shorthand needs both clip and origin?
clip and origin shorthand
Does the 'background' shorthand needs both clip and origin?
- State:
- CLOSED
- Product:
- CSS3 Backgrounds and Borders
- Raised by:
- Elika Etemad
- Opened on:
- 2008-04-04
- Description:
- The 'background' shorthand allows to set 'background-clip' and 'background-origin' (together with all other background properties) in a single line. But because the two properties have the same keywords ('border' and 'padding'), it can be difficult to know which property is set to what. The current shorthand states that the clip values comes before the origin value.
One way to avoid the confusion is to instead allow at most one keyword and apply it to *both* properties: 'border' (both are set to 'border'), 'padding' (both are set to 'padding'), 'content' (both are set to 'content') or no keyword at all (the default, i.e., clip is border and origin is padding).
This requires that 'background-clip' be extended to accept the keyword 'content'.
It makes it impossible to specify the combinations 'padding border', 'border content' and 'padding content' in the shorthand. They would require the individual properties.
- Related Actions Items:
- No related actions
- Related emails:
- [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)
- [CSSWG] Minutes San Francisco F2F 2016-05-09 Part I: Flexbox, Box Alignment, Grid [css-flexbox] [css-align] [css-grid] (from daelcss@gmail.com on 2016-05-24)
- [CSSWG] Minutes Sapporo F2F 2015-10-27 Part II: Fragmentation, Scroll Snapping Issues [css-break] [css-snappoints] (from daelcss@gmail.com on 2015-11-23)
- Minutes Sapporo F2F 2015-10-26 Part III: Wide Gamut/Deep Color, Scroll Snap [css-color] [css-snappoints] (from daelcss@gmail.com on 2015-11-18)
- [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)
- Scheduling of F2F items to allow remote paritipation. (from szilles@adobe.com on 2014-05-17)
- Re: [css-masking] editorial changes - spec update (from dschulze@adobe.com on 2014-01-10)
- Re: [css-masking] editorial changes - spec update (from fantasai.lists@inkedblade.net on 2014-01-08)
- Re: [css-masking] editorial changes - spec update (from dschulze@adobe.com on 2013-12-17)
- [css3-images] object sizing edits (from fantasai.lists@inkedblade.net on 2012-03-27)
- Re: [CSSWG] Minutes and Resolutions Telecon 2012-03-21 (from jackalmage@gmail.com on 2012-03-21)
- [CSSWG] Minutes and Resolutions Telecon 2012-03-21 (from fantasai.lists@inkedblade.net on 2012-03-21)
- Minutes and Resolutions Paris F2F 2012-02-07 Tue Morning I: Regions Issues, Nested Style Rules (from fantasai.lists@inkedblade.net on 2012-02-12)
- [CSSWG] Minutes and Resolutions 2009-04-08 (from fantasai.lists@inkedblade.net on 2009-06-08)
- Re: [CSSWG] Minutes, 25 March 2009 telcon (from fantasai.lists@inkedblade.net on 2009-06-08)
- RE: [CSS21] last edition: pity (from amikhal@abisoft.spb.ru on 2009-05-06)
- RE: [CSS21] last edition: pity (from sylvaing@microsoft.com on 2009-05-05)
- Minutes, 8 April CSS WG telcon (from chris@w3.org on 2009-04-08)
- Agenda conf call 8-apr-2009 (from daniel.glazman@disruptive-innovations.com on 2009-04-08)
- Re: Agenda conf call 1-apr-2009 (from tah@mail.rit.edu on 2009-04-01)
- Re: Agenda conf call 1-apr-2009 (from bert@w3.org on 2009-04-01)
- Agenda conf call 1-apr-2009 (from peter.linss@hp.com on 2009-03-31)
- [CSSWG] Minutes, 25 March 2009 telcon (from chris@w3.org on 2009-03-25)
- CSS 2.1 issue 24 draft text (from bert@w3.org on 2009-03-25)
- Agenda 25-mar-2009 - - Daylight Saving Time still in effect (from daniel.glazman@disruptive-innovations.com on 2009-03-24)
- Re: Agenda conf call 18-mar-2009 - Daylight Saving Time now in effect (from dino@apple.com on 2009-03-18)
- Agenda conf call 18-mar-2009 - Daylight Saving Time now in effect (from peter.linss@hp.com on 2009-03-18)
- [CSSWG] Minutes and Resolutions 2009-02-25 (from fantasai.lists@inkedblade.net on 2009-03-08)
- [CSSWG] Resolutions 2009-02-25 (from fantasai.lists@inkedblade.net on 2009-02-26)
- Minutes, CSS WG, 2009-02-25 (from chris@w3.org on 2009-02-25)
- Re: Agenda conf call 25-feb-2009 (from hyatt@apple.com on 2009-02-23)
- Agenda conf call 25-feb-2009 (from peter.linss@hp.com on 2009-02-23)
- Re: Agenda conf call 18-feb-2009 (from fantasai@inkedblade.net on 2009-02-19)
- [CSSWG] Minutes and Resolutions 2008-06-16 (from fantasai.lists@inkedblade.net on 2008-06-16)
- Re: Agenda CSS WG Conf Call 10-june - CSS2.1 Issues (from fantasai@inkedblade.net on 2008-06-10)
- Re: [CSS21] parsing invalid syntax and matching brackets (from gabriele.romanato@gmail.com on 2008-05-21)
- [CSS21] parsing invalid syntax and matching brackets (from fantasai.lists@inkedblade.net on 2008-05-21)
- Re: [css3-background] alternatives to background-origin (from alan@css-class.com on 2008-05-21)
- [css3-background] alternatives to background-origin (was: Issues and Proposed Resolutions) (from bert@w3.org on 2008-05-20)
- [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
- [CSSWG] Minutes and Resolutions 2008-04-09 (from fantasai.lists@inkedblade.net on 2008-04-10)
- ISSUE-24 (clip and origin shorthand): Does the 'background' shorthand needs both clip and origin? [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)
Related notes:
No additional notes.
Display change log