In the plain widget, there are 4 images. Performance practice says that we should use sprite, and this case is particularly right. All of them are used as CSS background image for fixed-size span, thus not so hard for CSS sprite ;)


marvil07’s picture

Title:CSS Sprite» CSS sprites for alternate and plain widgets

good idea, this applies also to alternate widget :-)

marvil07’s picture

Priority:Normal» Minor
marvil07’s picture

Version:6.x-2.x-dev» 6.x-3.x-dev
Priority:Minor» Normal
droplet’s picture

4.26 KB

here's the patched files.
i don't know how to add/remove files with CVS, so simply zip them all.

droplet’s picture

Status:Active» Needs review
marvil07’s picture

Status:Needs review» Fixed
Issue tags:+frontend performance


I have just committed your changes(see this patch for details) to 3.x and backported it to 2.x.

Thanks for the sprites.

marvil07’s picture

Status:Fixed» Closed (fixed)
Issue tags:-frontend performance

Automatically closed -- issue fixed for 2 weeks with no activity.