Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / updating-scrolling-container.html
blob8aadae7605e86c0e8d3ec588050f69ef4465fa3c
1 <!-- Based on compositing/overflow/updating-scrolling-container.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "LayoutBlockFlow DIV id='container'",
7 ];
8 function paintInvalidationTest() {
9 document.getElementById('container').style.borderColor = "green";
11 onload = runPaintInvalidationTest;
12 </script>
13 <style>
14 #container {
15 overflow: scroll;
16 width: 200px;
17 height: 200px;
18 border: 5px solid red;
20 #content {
21 width: 400px;
22 height: 400px;
24 </style>
25 <div style="height: 100px">
26 Tests invalidation of scrolling container and contents on change of style which affects the container only.
27 Passes if there is no red, and only the container is invalidated.
28 </div>
29 <div id="container">
30 <div id="content">CONTENT</div>
31 </div>