This problem is only happening in Google Chrome on Mac OS X (Chrome 17). I've tested it on all the major browsers on Mac and Windows 7.
Here is the page in question: http://dealsfortherich.com/drop/ As you can see, I'm loading divs via JQuery AJAX. The page is always fine on "Refresh." You can navigate pages with the left and right arrows. The problem happens when you change pages; especially when you change pages when scrolling the page quickly. Try scrolling the page down very fast and hit the right arrow. The background images that were already loaded via CSS (for example):
开始消失。只有使用CSS加载的背景图像才会消失。所有 都没问题。如果在Chrome中打开开发人员工具检查元素,您会发现浏览器具有正确的语法,并已将图像下载到其缓存中。由于某种原因,它只是无法显示它。CSS显示值是正确的。在检查器中,对于缺少背景的div,如果修改诸如“top:8px;”之类的值为“top:9px;”,则图像突然出现。
这仅在Chrome(v.17)和Chrome Canary(v.19)的Mac OS X(10.7.3)上发生。我应该向Google报告此错误,还是有已知的解决方法或修复方法?我想我可以用s替换s,但我宁愿正确地做并解决这个奇怪的问题。
Here is the page in question: http://dealsfortherich.com/drop/ As you can see, I'm loading divs via JQuery AJAX. The page is always fine on "Refresh." You can navigate pages with the left and right arrows. The problem happens when you change pages; especially when you change pages when scrolling the page quickly. Try scrolling the page down very fast and hit the right arrow. The background images that were already loaded via CSS (for example):
.sort_block{ background: url(images/sort_block.png) no-repeat;}
开始消失。只有使用CSS加载的背景图像才会消失。所有 都没问题。如果在Chrome中打开开发人员工具检查元素,您会发现浏览器具有正确的语法,并已将图像下载到其缓存中。由于某种原因,它只是无法显示它。CSS显示值是正确的。在检查器中,对于缺少背景的div,如果修改诸如“top:8px;”之类的值为“top:9px;”,则图像突然出现。
这仅在Chrome(v.17)和Chrome Canary(v.19)的Mac OS X(10.7.3)上发生。我应该向Google报告此错误,还是有已知的解决方法或修复方法?我想我可以用s替换s,但我宁愿正确地做并解决这个奇怪的问题。
background: url(data:image/png;base64,...)
在Chrome上无法显示,但在Firefox上可以。我不认为这与AJAX有任何关系。 - icedwater