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

Side by Side Diff: LayoutTests/compositing/overflow/iframe-scroll-children.html

Issue 181653006: Remove testRunner.display() from most compositing/ tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert change to plugin test Created 6 years, 9 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.setForceCompositingMode(true); 50 window.internals.settings.setForceCompositingMode(true);
51 window.internals.settings.setAcceleratedCompositingForOverflowScroll Enabled(true); 51 window.internals.settings.setAcceleratedCompositingForOverflowScroll Enabled(true);
52 window.internals.settings.setCompositorDrivenAcceleratedScrollingEna bled(true); 52 window.internals.settings.setCompositorDrivenAcceleratedScrollingEna bled(true);
53 } 53 }
54
55 function doTest()
56 {
57 if (window.testRunner)
58 testRunner.display();
59 }
60
61 window.onload = doTest;
62 </script> 54 </script>
63 </head> 55 </head>
64 <body> 56 <body>
65 <div id="container"> 57 <div id="container">
66 <div class="float"> 58 <div class="float">
67 <!-- 59 <!--
68 This iframe should not have a scroll parent because its 60 This iframe should not have a scroll parent because its
69 parent (class="float") has a scroll parent and this would 61 parent (class="float") has a scroll parent and this would
70 be redundant. 62 be redundant.
71 --> 63 -->
(...skipping 16 matching lines...) Expand all
88 <iframe src="resources/composited-subframe.html"></iframe> 80 <iframe src="resources/composited-subframe.html"></iframe>
89 <div class="fixed neg-z-order"></div> 81 <div class="fixed neg-z-order"></div>
90 <div class="scrolled neg-z-order"></div> 82 <div class="scrolled neg-z-order"></div>
91 <div class="scrolled"></div> 83 <div class="scrolled"></div>
92 <div class="scrolled"></div> 84 <div class="scrolled"></div>
93 <div class="scrolled"></div> 85 <div class="scrolled"></div>
94 </div> 86 </div>
95 <pre id="layers">Pass -- this test passes if it does not crash.</pre> 87 <pre id="layers">Pass -- this test passes if it does not crash.</pre>
96 </body> 88 </body>
97 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698