ISSUE-28: Add keyword to 'border-image' to suppress the center image
centerless border image
Add keyword to 'border-image' to suppress the center image
- State:
- CLOSED
- Product:
- CSS3 Backgrounds and Borders
- Raised by:
- David Hyatt
- Opened on:
- 2008-04-04
- Description:
- The center part of the nine parts of a border image is used as an additional background image. If the designer doesn't want a background image, he has to make that part transparent. That is not so difficult with a reasonable painting program, but an even easier way might be to leave the image opaque and add a keyword to the 'border-image' property.
How often does it happen that the center part (and only that part) has to be transparent, how much easier is to add a keyword to the style sheet than to cut out a rectangle in a paint program and what is the cost of learning an extra keyword that you may never use?
-----
Reraised by HÃ¥kon
http://lists.w3.org/Archives/Public/www-style/2009Jan/0414.html
Possible solutions:
- Keep the middle part by default (current behavior). Add an ‘empty’
keyword that clips out the middle part.
- Make the middle part clip out by default. Add a ‘fill’ keyword that
keeps it. (It's needed for stretch-tiling things like aqua buttons.)
- Related Actions Items:
- No related actions
- Related emails:
- Re: [css-grid] Reduced Subgrid Proposal (from fantasai.lists@inkedblade.net on 2016-05-17)
- [css-grid] Reduced Subgrid Proposal (from fantasai.lists@inkedblade.net on 2016-04-14)
- 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)
- Re: [css3-ui] Link to nav-* tests (issue 28) (from tantek@cs.stanford.edu on 2014-11-18)
- [css3-ui] Link to nav-* tests (issue 28) (from florian@rivoal.net on 2014-11-17)
- [CSSWG] Minutes Seattle F2F Tue 2014-01-28 PM II: Flexbox, <br>, Serialization and Shapes (from fantasai.lists@inkedblade.net on 2014-02-04)
- [CSSWG] Minutes and Resolutions 2012-07-04 (from fantasai.lists@inkedblade.net on 2012-07-04)
- Re: [css3-color] XSL FO SG comments on 'CSS Color Module Level 3' WD (from Tony.Graham@MenteithConsulting.com on 2010-10-06)
- Re: [css3-color] XSL FO SG comments on 'CSS Color Module Level 3' WD (from chris@w3.org on 2010-09-29)
- [CSSWG] Minutes and Resolutions 2009-04-15 (from fantasai.lists@inkedblade.net on 2009-05-14)
- Re: [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-08-11)
- Re: [css3-background] Issues and Proposed Resolutions (from dbaron@dbaron.org on 2008-05-18)
- [css3-background] Issues and Proposed Resolutions (from fantasai.lists@inkedblade.net on 2008-05-13)
- ISSUE-28 (centerless border image): A keyword 'transparent' on 'border-image' to suppress the center image [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)
Related notes:
Rejected Hyatt's proposal for a 'transparent' keyword to suppress the center image. http://lists.w3.org/Archives/Public/www-style/2008May/0148.html
Elika Etemad, 13 Feb 2009, 01:38:33Center of image now dropped by default, use 'fill' keyword to get it filled in.
Elika Etemad, 9 Jun 2009, 19:08:19Display change log