Skip to main content

Search and Top Navigation

#6915 closed bug (notabug)

Opened January 30, 2011 07:52AM UTC

Closed January 30, 2011 02:47PM UTC

Hover Icons not preloaded

Reported by: kingjeffrey Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.8
Keywords: Cc:
Blocked by: Blocking:
Description

It appears the hover-state icons are not preloaded. When hovering over the close icon for the first time, the icon disappears for a moment while the hover-state icon is downloaded. I assume this is a larger issue than just ui.dialog, but this is where I've confirmed it.

One solution is to combine all the normal, hover and active state icons into one file, so if there is a normal state icon displaying, it will necessarily download the hover and active state icons (since they are sprites in the same image).

Attachments (0)
Change History (1)

Changed January 30, 2011 02:47PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

This isn't actually a bug as this is purely a styling issue and you can use whatever styles you want. Since ThemeRoller themes aren't required (only the functional CSS, which contains no images, is required), this doesn't seem like something that should be tackled by anything in particular. Maybe core could generate elements with all possible states, though I don't know if all browsers will actually load the image if the element isn't visible. Feel free to start a discussion on the forum.