blob: 7546eaf86a5c79d9f777b611f828246eb35371be [file] [log] [blame]
<!DOCTYPE html>
Tests painting of fixed background content in scrolled container.
Passes if the background doesn't scroll.
<div style="position: absolute; top: 100px; left: 100px; width: 400px; height: 400px; backface-visibility: hidden">
<iframe style="width: 300px; height: 300px" srcdoc="
::-webkit-scrollbar {
display: none;
<div id='container' style='width: 200px; height: 200px; overflow: scroll'>
<div id='content' style='height: 2000px; background: linear-gradient(red, blue); background-attachment: fixed'></div>