Comment 2 for bug 405476

Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote : Re: [Bug 405476] Re: sprite class bleeds extra images in tall elements

On Mon, Nov 30, 2009 at 6:49 AM, Данило Шеган <email address hidden> wrote:
> It would be useful to try playing with background-clip (see
> http://www.w3.org/TR/css3-background/#the-background-clip) CSS to define
> all the sprites: not sure how well supported it is.

The background-clip css property doesn't allow you specify an actual
height and width. It only lets you set it to either border-box,
padding-box, content-box, or no-clip. Those settings won't do us any
good, since the content of the elements is making it taller than the
space between the sprites, and the background-clip won't let you clip
an area smaller than the content-box.