Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
There is a weird new issue in Chrome that causes hover images generated with Smart Sprites to flicker
Basically - when Chrome sees the same background-image style appear on both the normal and :hover styles, it re-fetches the image when the element is hovered on. Until the image re-downloads, you see a blank image - very visually disturbing.
The work around is not to include the background-image style in the css of the :hover style, assuming the same background-image is already included in the normal, un-hovered style.
(As a work around for now, I'm using a post-build script that strips background-image from all :hover style - https://gist.github.com/1354590)
Thanks for the report and a workaround, Ron! Some recent comments on the StackOverflow question suggest that the latest update to Chrome (15.0.874.106) fixes the issue.