blob: b8a1798d06f311cc098c4edb5ea3159f92510791 [file] [log] [blame]
<!DOCTYPE html>
<style>
body {
background-image: linear-gradient(red, blue);
background-attachment: fixed;
margin: 0;
}
</style>
<script>
if (window.testRunner)
window.internals.settings.setPreferCompositingToLCDTextEnabled(false);
window.onload = function() {
window.scrollTo(0, 1000);
};
</script>
<div style="height: 5000px">
Tests that scrolling a frame with background-attachment: fixed invalidates the entire viewport.
</div>