W3C home > Mailing lists > Public > www-style@w3.org > August 2011

RE: Splitting background-position in two different attributes

From: Brian Manthos <brianman@microsoft.com>
Date: Thu, 4 Aug 2011 17:42:57 +0000
To: Jonathan Snook <jonathan@snook.ca>, Tab Atkins Jr. <jackalmage@gmail.com>, Christian Sciberras <uuf6429@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D171122C2@TK5EX14MBXC264.redmond.corp.microsoft.com>
Note that IE9 continues supporting the background-position-x and background-position-y from versions past, adding with layered support.  It's remains un-prefixed for historical reasons.

There are some bugs and "odd cases" you might run across, but generally it should be doing what you expect.  Feel free to try it out and provide feedback on issues you find through the normal channels.

-Brian


From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Jonathan Snook
Sent: Thursday, August 04, 2011 10:25 AM
To: Tab Atkins Jr.
Cc: www-style@w3.org
Subject: Re: Splitting background-position in two different attributes

As you indicated, this has been discussed before, and rejected.  I
believe the reasoning for it being rejected is still valid.

I documented my issues with background-position-x/y here:
http://snook.ca/archives/html_and_css/background-position-x-y

I provided three specific use cases: animation, spriting, and internationalization. With the majority of browsers having an existing implementation, it seems like pure stubbornness not to include it at this point. Why not codify what most browsers are already doing? As great as Media Fragments and other specs are, implementations just aren't there.

I would feel that, as a general rule for CSS, any combined value (background-position, box-shadow, animation, etc) should be possibly decomposed to a single value.

Jonathan.
Received on Thursday, 4 August 2011 17:43:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT