summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/table-cell-background-local-ref.html
blob: b6088dd39ad951876641441c19d825c8fc0afa75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
Passes if there is a brown square.
<div id="target"
     style="overflow: hidden; width: 100px; height: 100px;
            background: linear-gradient(to bottom right, green, red);
            background-attachment: local">
  <div style="width: 3000px; height: 3000px"></div>
</div>
<script>
target.scrollTop = 1500;
target.scrollLeft = 1500;
</script>