Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / destroy-scrollbar.html
blobb720dab095b6b207e8d8d558b2260c71811e6163
1 <!-- Based on fast/repaint/destroy-scrollbar.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "VerticalScrollbar",
7 "LayoutBlockFlow (positioned) DIV",
8 ];
9 function paintInvalidationTest() {
10 document.getElementById('content').style.height = '100px';
12 onload = runPaintInvalidationTest;
13 </script>
14 Tests invalidation when a scrollbar is destroyed. Passes if there is no scrollbar.
15 <div style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px; overflow: auto">
16 <div id="content" style="width: 100px; height: 400px"></div>
17 </div>