W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [css4-background] background-position-x and background-position-y or logical directions

From: Florian Rivoal <florianr@opera.com>
Date: Tue, 26 Jun 2012 10:56:43 +0200
To: www-style@w3.org
Message-ID: <op.wgh5sta24p7avi@localhost.localdomain>
On Mon, 25 Jun 2012 23:41:33 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  

>> If the plan is to solve this use case (spriting), we should do a better  
>> job
>> than
>> using background-position hacks.
> I'm with fantasai.  The only use-case I've ever seen for
> background-position-x/y is image spriting, but bg-pos is really shitty
> for spriting.  The right way is to either use Media Fragments, or come
> up with something else in CSS that accomplishes the same thing.

I understand the sentiment, but not implementing background-position-x/y
is a difficult position to maintain when it is supported by browsers
with a combined market share of maybe more than 70% (ie + chrome + safari).
Content is being written for it, and lacking support causes issues.

If you're willing to drop support for it, the question will be much easier
to settle. Until then, the temptation to add support for it in Opera (and
maybe Mozilla, but I can't speak for them) will remain.

  - Florian
Received on Tuesday, 26 June 2012 08:57:18 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC