Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / updating-scrolling-container-and-content-expected.html
blob053318ff23bcdbc4a8b3391a12a885b2cd92be9e
1 <!DOCTYPE html>
2 <script>
3 onload = function() {
4 document.getElementById('container').scrollTop = 50;
5 };
6 </script>
7 <style>
8 #container {
9 overflow: scroll;
10 width: 200px;
11 height: 200px;
12 color: green;
14 </style>
15 <div style="height: 100px">
16 Tests invalidation of scrolling container and contents on change of style which affects also the contents.
17 Passes if the content text is green, and the whole content layer (if composited scrolling) is invalidated.
18 </div>
19 <div id="container">
20 CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT
21 </div>