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

Side by Side Diff: LayoutTests/compositing/overflow/iframe-scroll-children.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 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 div { 5 div {
6 width: 50px; 6 width: 50px;
7 height: 50px; 7 height: 50px;
8 } 8 }
9 #container { 9 #container {
10 overflow: scroll; 10 overflow: scroll;
(...skipping 29 matching lines...) Expand all
40 .stacking-context { 40 .stacking-context {
41 position: relative; 41 position: relative;
42 z-index: 1; 42 z-index: 1;
43 } 43 }
44 </style> 44 </style>
45 <script> 45 <script>
46 if (window.testRunner) 46 if (window.testRunner)
47 testRunner.dumpAsText(false); 47 testRunner.dumpAsText(false);
48 48
49 if (window.internals) { 49 if (window.internals) {
50 window.internals.settings.setAcceleratedCompositingForOverflowScroll Enabled(true); 50 window.internals.settings.setPreferCompositingToLCDTextEnabled(true) ;
51 } 51 }
52 </script> 52 </script>
53 </head> 53 </head>
54 <body> 54 <body>
55 <div id="container"> 55 <div id="container">
56 <div class="float"> 56 <div class="float">
57 <!-- 57 <!--
58 This iframe should not have a scroll parent because its 58 This iframe should not have a scroll parent because its
59 parent (class="float") has a scroll parent and this would 59 parent (class="float") has a scroll parent and this would
60 be redundant. 60 be redundant.
(...skipping 17 matching lines...) Expand all
78 <iframe src="resources/composited-subframe.html"></iframe> 78 <iframe src="resources/composited-subframe.html"></iframe>
79 <div class="fixed neg-z-order"></div> 79 <div class="fixed neg-z-order"></div>
80 <div class="scrolled neg-z-order"></div> 80 <div class="scrolled neg-z-order"></div>
81 <div class="scrolled"></div> 81 <div class="scrolled"></div>
82 <div class="scrolled"></div> 82 <div class="scrolled"></div>
83 <div class="scrolled"></div> 83 <div class="scrolled"></div>
84 </div> 84 </div>
85 <pre id="layers">Pass -- this test passes if it does not crash.</pre> 85 <pre id="layers">Pass -- this test passes if it does not crash.</pre>
86 </body> 86 </body>
87 </html> 87 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698