Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / should-not-clip-composited-overflow-scrolling-layer-expected.html
blob33e2972eb283637df6709a91e07eb6acd1748598
1 <!DOCTYPE HTML>
2 <script>
3 onload = function() {
4 var container = document.getElementById('container');
5 container.scrollLeft = 2000;
6 container.scrollTop = 2000;
8 window.onload = runRepaintTest;
9 </script>
10 <style>
11 #container {
12 width: 500px;
13 height: 500px;
14 overflow: scroll;
16 #content {
17 width: 5000px;
18 height: 5000px;
19 background-color: green;
21 </style>
22 <div id="container">
23 <div id="content">
24 Tests invalidation of scrolling layer. Passes if the repaint rect is not clipped,
25 and there is no red when the scrolling container is scrolled.<br>
26 Note for manual testing: must run with --enable-prefer-compositing-to-lcd-text
27 on non-high-dpi machines to enable composited scrolling.
28 </div>
29 </div>