<!DOCTYPE html> | |
<style> | |
::-webkit-scrollbar { | |
display: none; | |
} | |
</style> | |
Tests painting of fixed background content in scrolled container. | |
Passes if the background doesn't scroll. | |
<div id="container" style="width: 200px; height: 200px; overflow: hidden"> | |
<div id="content" style="height: 2000px; background: linear-gradient(red, blue); background-attachment: fixed"></div> | |
</div> |