Chrome背景图片会在刷新时留下空白

Dar*_*der 5 html css google-chrome background-image

我目前正在建立一个网站,但在Chrome中显示该网站时遇到了一些麻烦。

网站完全加载后,您滚动到某个位置并单击刷新按钮。背景图片上方会出现白色方块,看起来背景图片没有完全加载。

我试图重现此错误,它具有相同的问题。该问题仅出现在Google Chrome浏览器中

这是我复制的网站的源代码:

<html>
    <head>
        <style>
            body {
                background-image: url(http://www.wallpaperawesome.com/wallpapers-awesome/wallpapers-royalty-free-photos-images-for-commecial-use-awesome/wallpaper-royalty-free-photo-image-awesome-277.jpg) !important ;
                background-repeat:no-repeat; background-attachment:fixed;
            }
        </style>
    </head>
    <body>

-- Just pasted some long text from wikipedia here --

    </body>
</html>
Run Code Online (Sandbox Code Playgroud)

在搜索问题时,我也在网站上发现了相同的问题:http : //css-tricks.com/examples/FullPageBackgroundImage/progressive.php

当您滚动到底部并单击刷新时,图像不会显示100%。当您开始滚动时,它将立即完全加载。

编辑:缺少重要的事实:似乎仅在网站上有滚动条时才会发生此错误,并且您没有刷新它的顶部。

小智 1

据我所知,谷歌已经修复了这个问题。