ISSUE-9: Splitting 'background-position' into -x and -y allows to quickly change one without the other
background-position-x/y
Splitting 'background-position' into -x and -y allows to quickly change one without the other
- State:
- CLOSED
- Product:
- CSS3 Backgrounds and Borders
- Raised by:
- Anne van Kesteren
- Opened on:
- 2008-04-04
- Description:
- The use case is described here:
http://lists.w3.org/Archives/Public/www-style/2004Aug/0185
Basically, it enhances a well-known technique to avoid a download and a slight delay by putting two background images into one and moving it up and down on hover rather than replacing it: By splitting 'background-position', one avoids having to repeat the x coordinate in the rule for ':hover'.
Elika and Bert considered the use case too weak to introduce new properties for. See http://lists.w3.org/Archives/Member/w3c-css-wg/2008JanMar/0153.html - Related Actions Items:
- No related actions
- Related emails:
- [CSSWG] Minutes and Resolutions Seattle F2F 2011-07-26 AM: paint servers, pointer-events (from fantasai.lists@inkedblade.net on 2011-08-05)
- Re: Splitting background-position in two different attributes (from alan@css-class.com on 2011-08-05)
- Re: Splitting background-position in two different attributes (from brad.kemper@gmail.com on 2011-08-04)
- Re: Splitting background-position in two different attributes (from jackalmage@gmail.com on 2011-08-04)
- Splitting background-position in two different attributes (from uuf6429@gmail.com on 2011-08-04)
- Re: Background position (from jackalmage@gmail.com on 2009-06-17)
- Re: Background position (from sophie.gousset@laposte.net on 2009-06-17)
- Re: Background position (from bert@w3.org on 2009-05-25)
- Re: CSS3 Color: definition of 'mask' and example (from dbaron@dbaron.org on 2008-05-12)
- Re: [css3-color] Algorithm for opacity needs defining. (from dbaron@dbaron.org on 2008-05-12)
- ISSUE-9 (background-position-x/y): Splitting 'background-position' into -x and -y allows to quickly change one without the other [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)
Related notes:
No additional notes.
Display change log