Google Chrome仅部分载入背景图片 [英] Google chrome only partially loading background images
问题描述
我在Chrome和Windows上都遇到了我的网站问题,我有多个人在多台计算机上测试它,这种行为不是100%的时间,但是很常见。当前状态下的网站可以在以下网址查看: georgereith.com/test/
I am having trouble with my website in chrome on both windows and mac, I have had multiple people test it on multiple computers and this behaviour is not 100% of the time but is very common. The website in it's current state can be viewed at: georgereith.com/test/
下面的图片显示了我的网站当前的样子:
The image below shows how my website should look currently:
但是,当一些人打开chrome时,它加载如下:
However when some people with chrome open it, it loads like this:
奇怪的行为是,当你开始突出显示丢失的背景应该是什么,chrome似乎呈现更多的背景:
The strange behaviour is that when you start to highlight things where the missing background should be, chrome appears to render more of the background:
有人知道可能导致这种行为吗? p>
Does anyone know what could be causing this behaviour?
推荐答案
这似乎是一个Chrome错误,但我找不到任何参考。
This seems to be a Chrome bug, but I can't find any reference to it.
当我启动Web检查器似乎消失,所以也许你可以尝试运行一些虚拟的javascript的行为异常的元素(注意:我只是猜到这里):
It seems to go away when I start the web inspector, so maybe you could try to run some dummy javascript on the element that's misbehaving (Note: I'm just guessing here):
var acc = document.getElementById("accordion");
acc.className = acc.className;
这将强制回流。
这篇关于Google Chrome仅部分载入背景图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!