summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/scrollbar-invalidation-on-resize.html
blob: b78a559bbf3a1552b17e164e7c6284b901ccddb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
  document.getElementById('scrollable').style.width = '300px';
}
onload = runRepaintTest;
</script>
<style>
#scrollable {
  overflow: scroll;
  position: absolute;
  top: 50px;
  width: 100px;
  height: 100px;
}
</style>
When a scrollable area is resized, the invalidation area should cover non-composited scrollbars.
<div id="scrollable"></div>