1 <!-- Based on compositing/overflow/scrolling-without-painting.html -->
5 This test checks that accelerated scrolling layers can be scrolled without
6 repainting their contents. See https://bugs.webkit.org/show_bug.cgi?id=96087.
11 <style type=
"text/css">
14 -webkit-overflow-scrolling: touch
;
17 border: solid thin blue
;
25 <script src=
"resources/paint-invalidation-test.js"></script>
26 <script type=
"text/javascript">
28 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
30 window
.expectedPaintInvalidationObjects
= [
32 function paintInvalidationTest() {
33 // Scroll down. This should not cause any more repaints to the
34 // scrolling contents.
35 document
.getElementById('scroller').scrollTop
= 25;
38 runPaintInvalidationTest();
43 <div id=
"content"></div>