4 This test checks that accelerated scrolling layers can be scrolled without
5 repainting their contents. See https://bugs.webkit.org/show_bug.cgi?id=96087.
10 <style type="text/css">
13 -webkit-overflow-scrolling: touch;
16 border: solid thin blue;
24 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
25 <script type="text/javascript">
27 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
29 function repaintTest() {
30 // Scroll down. This should not cause any more repaints to the
31 // scrolling contents.
32 document.getElementById('scroller').scrollTop = 25;
40 <div id="content"></div>