Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / scrollbar-invalidation-on-resize-with-border.html
blob84a41e67276bda27fc69f38c67ebdecad003f24c
1 <!-- Based on fast/repaint/scrollbar-invalidation-on-resize-with-border.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "HorizontalScrollbar",
7 "VerticalScrollbar",
8 "VerticalScrollbar",
9 "HorizontalScrollbar",
10 "HorizontalScrollbar",
11 "LayoutBlockFlow (positioned) DIV id='scrollable'",
13 function paintInvalidationTest() {
14 document.getElementById('scrollable').style.width = '300px';
16 onload = runPaintInvalidationTest;
17 </script>
18 <style>
19 #scrollable {
20 overflow: scroll;
21 position: absolute;
22 top: 50px;
23 width: 100px;
24 height: 100px;
25 border: solid 10px green;
27 </style>
28 When a scrollable area is resized, the invalidation area should cover non-composited scrollbars.
29 <div id="scrollable"></div>