blob: 0b61e69f5377c7a0043aafe75ac783e9ab931ed2 [file] [edit]
<html>
<meta name="fuzzy" content="maxDifference=0-2; totalPixels=0-122500">
<head>
<style>
body {
height:2000px;
margin:0;
overflow:hidden;
}
#fixed-background-box {
width: 400px;
height: 600px;
background-image: linear-gradient(blue, blue 10px, green 10px, green 490px, black 490px, black);
background-attachment: fixed;
background-repeat:no-repeat;
}
</style>
<script>
async function runTest() {
if (window.testRunner)
await testRunner.setObscuredContentInsets(100, 0, 0, 0);
window.scrollTo(0, 100);
}
window.addEventListener('load', runTest, false);
</script>
</head>
<body>
<div id="fixed-background-box"></div>
</body>
</html>