summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/scrolling/background-paint-non-composited-scrolled-expected.html
blob: 8e2980af0230191968e1bcec447829ddf3a909aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<style>
#box, #box-unchanged {
  margin-left: 300px;
  width: 50px;
  height: 50px;
}
#box {
  margin-top: 150px;
  background-color: green;
}
#box-unchanged {
  background-color: blue;
}
#container {
  width: 500px;
  height: 500px;
  overflow: scroll;
}
</style>
Tests invalidation and painting of a box changing background while composited scrolled.
<div id="container">
<div id="box"></div>
<div id="box-unchanged"></div>
<div style="height: 4000px"></div>
</div>