Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: LayoutTests/compositing/overflow/scroll-parent-with-non-stacking-context-composited-ancestor.html

Issue 486493002: Merge AcceleratedCompositingForOverflowScroll into PreferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-overflowscroll: imagefailure Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <!-- 2 <!--
3 This test checks that when overlay scrollbars are repositioned due to 3 This test checks that when overlay scrollbars are repositioned due to
4 accelerated overflow scrolling, that their position accounts for any 4 accelerated overflow scrolling, that their position accounts for any
5 intervening, composited ancestors. The test is working correctly if the 5 intervening, composited ancestors. The test is working correctly if the
6 scrollbars are correctly positioned on top of the scroller and the scrolled 6 scrollbars are correctly positioned on top of the scroller and the scrolled
7 contents. 7 contents.
8 --> 8 -->
9 <style> 9 <style>
10 #scroller { 10 #scroller {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 <div id="fixed"></div> 44 <div id="fixed"></div>
45 <div class="scrolled"></div> 45 <div class="scrolled"></div>
46 <div class="scrolled"></div> 46 <div class="scrolled"></div>
47 <div class="scrolled"></div> 47 <div class="scrolled"></div>
48 <div class="scrolled"></div> 48 <div class="scrolled"></div>
49 </div> 49 </div>
50 </div> 50 </div>
51 <script> 51 <script>
52 if (window.internals) { 52 if (window.internals) {
53 window.internals.settings.setOverlayScrollbarsEnabled(true); 53 window.internals.settings.setOverlayScrollbarsEnabled(true);
54 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true); 54 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
55 } 55 }
56 56
57 if (window.testRunner) 57 if (window.testRunner)
58 window.testRunner.dumpAsTextWithPixelResults(); 58 window.testRunner.dumpAsTextWithPixelResults();
59 59
60 onload = function() { 60 onload = function() {
61 if (window.internals && window.testRunner) 61 if (window.internals && window.testRunner)
62 window.testRunner.setCustomTextOutput(window.internals.layerTreeAsText(d ocument)); 62 window.testRunner.setCustomTextOutput(window.internals.layerTreeAsText(d ocument));
63 }; 63 };
64 </script> 64 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698