summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/destroy-scrollbar.html
blob: c930527a1384f9a1a863640f16abb32fbc7ec5e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
  document.getElementById('content').style.height = '100px';
}
onload = runRepaintTest;
</script>
Tests invalidation when a scrollbar is destroyed. Passes if there is no scrollbar.
<div style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px; overflow: auto">
  <div id="content" style="width: 100px; height: 400px"></div>
</div>