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:
  1. Re: [css-masking] lc issue 9: Does 'mask-source-type' apply to 'mask-box-image-source' (from dschulze@adobe.com on 2014-04-12)
  2. [CSSWG] Minutes Telecon 2014-03-19 (from daelcss@gmail.com on 2014-03-19)
  3. Re: [css-masking] 'mask-source-type' and 'mask-type' (from dschulze@adobe.com on 2013-12-12)
  4. [CSSWG] Minutes Tucson F2F 2013-02-14 Tue AM I: Paged Media 4, Flexbox (from fantasai.lists@inkedblade.net on 2013-02-14)
  5. [css3-flexbox] Status and Going to CR (from jackalmage@gmail.com on 2012-07-09)
  6. [css3-flexbox] Status and Going to CR (from fantasai@inkedblade.net on 2012-07-09)
  7. [css3-background] background-position-x background-position-y (from florianr@opera.com on 2012-02-15)
  8. [CSSWG] Minutes and Resolutions Seattle F2F 2011-07-26 AM: paint servers, pointer-events (from fantasai.lists@inkedblade.net on 2011-08-05)
  9. Re: Splitting background-position in two different attributes (from alan@css-class.com on 2011-08-05)
  10. Re: Splitting background-position in two different attributes (from brad.kemper@gmail.com on 2011-08-04)
  11. Re: Splitting background-position in two different attributes (from jackalmage@gmail.com on 2011-08-04)
  12. Splitting background-position in two different attributes (from uuf6429@gmail.com on 2011-08-04)
  13. Re: Background position (from jackalmage@gmail.com on 2009-06-17)
  14. Re: Background position (from sophie.gousset@laposte.net on 2009-06-17)
  15. Re: Background position (from bert@w3.org on 2009-05-25)
  16. Re: CSS3 Color: definition of 'mask' and example (from dbaron@dbaron.org on 2008-05-12)
  17. Re: [css3-color] Algorithm for opacity needs defining. (from dbaron@dbaron.org on 2008-05-12)
  18. 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.

Changelog:

Created issue 'Splitting 'background-position' into -x and -y allows to quickly change one without the other' nickname background-position-x/y owned by Anne van Kesteren on product CSS3 Backgrounds and Borders, 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' non-public

Bert Bos, 4 Apr 2008, 13:15:00

Status changed to 'open'

4 Apr 2008, 13:15:17

Status changed to 'closed'

12 May 2008, 17:26:07


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 $