- From: Bert Bos <bert@w3.org>
- Date: Mon, 25 May 2009 15:55:58 +0200
- To: www-style@w3.org
On Monday 18 May 2009, Henrik Hansen wrote:
> Correct me if I'm wrong, but didn't we discuss this recently. If so
> what was the conclusion.
It's issue-9 in the database:
http://www.w3.org/Style/CSS/Tracker/issues/9
The WG agreed to close the issue. The use case of making "sprites"
easier wasn't considered enough to complicate CSS for. The benefit of
background-position-y: -30px
over
background-position: 0 -30px
isn't huge.
> On Mon, May 18, 2009 at 12:16, Henrik Hansen <henrikb4@gmail.com>
wrote:
> > Correct me if I'm wrong, but didn't we discuss this recently. If so
> > what was the conclusion.
> >
> > On Sun, May 17, 2009 at 22:18, Sophie <sophie.gousset@laposte.net>
wrote:
> >> Hello,
> >>
> >> I have searched the archives of the list but didn’t find mention
> >> of this. Is there a possibility of allowing the definition of
> >> background position coordinates separately?
> >>
> >> a{
> >> background:url("...") no-repeat 0 0;
> >> }
> >>
> >> a:hover{
> >> background-position-y:-40px;
> >> }
> >>
> >> This would be useful in reducing css declarations when using
> >> sprite background images.
Bert
--
Bert Bos ( W 3 C ) http://www.w3.org/
http://www.w3.org/people/bos W3C/ERCIM
bert@w3.org 2004 Rt des Lucioles / BP 93
+33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Monday, 25 May 2009 13:56:38 UTC