在Firefox和Safari中,此頁面上的圖像緊密排列,但在Chrome中查看時,在圖像之間會顯示額外的像素。在Chrome中的圖像之間出現意外的線條
保留HTML h1標記,如果刪除了該錯誤並不總是會發生。
MAC OSX,鉻47:
a horizontal extra pixel row displays at 67% zoom
視窗10,鉻48:
both vertical and horizontal extra pixels show at 100% and all zooms
的Android移動電話,任何Chrome
垂直和水平兩個額外的像素顯示爲100%,全部爲zo OMS
HTML
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Chrome Bug Test</title>
<style type="text/css">
#test-div img {
float: left;
display: block;
}
</style>
</head>
<body>
<h1>Chrome Bug Test</h1>
<div id="test-div" style="width:720px !important; height=540px !important; overflow:hidden;">
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png" />
<img src="slice-div-test.png">
</div>
</body>
</html>
上面的代碼看起來不錯,你可能有圖像的問題。 –
不,圖像很好。我剛剛使用Chrome瀏覽器在Android移動LG D851上檢查了該頁面。這是一個與Chrome渲染問題 – user113235
你可以張貼截圖並突出顯示問題? –