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

Side by Side Diff: LayoutTests/compositing/overflow/ignore-main-thread-scroll-reasons-when-main-frame-not-scrollable.html

Issue 23903012: Set up scroll and clip parents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 7 years, 3 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 .non-layer-viewport-constrained { 5 .non-layer-viewport-constrained {
6 position: fixed; 6 position: fixed;
7 } 7 }
8 8
9 .box { 9 .box {
10 width: 50px; 10 width: 50px;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } else { 90 } else {
91 debug("This test requires window.internals."); 91 debug("This test requires window.internals.");
92 description("This test ensures that when the main frame cannot be " + 92 description("This test ensures that when the main frame cannot be " +
93 "scrolled, we ignore reasons for scrolling on the main " + 93 "scrolled, we ignore reasons for scrolling on the main " +
94 "thread that only matter when the main frame scrolls"); 94 "thread that only matter when the main frame scrolls");
95 } 95 }
96 } 96 }
97 97
98 window.onload = runTest; 98 window.onload = runTest;
99 </script> 99 </script>
100 <script src="../../fast/js/resources/js-test-pre.js"></script> 100 <script src="../../fast/js/resources/js-test-post.js"></script>
101 </head> 101 </head>
102 <body> 102 <body>
103 <div class="non-layer-viewport-constrained box" id="sibling"></div> 103 <div class="non-layer-viewport-constrained box" id="sibling"></div>
104 <div class="container" id="parent"> 104 <div class="container" id="parent">
105 <div class="box container-element"></div> 105 <div class="box container-element"></div>
106 <div class="box container-element"></div> 106 <div class="box container-element"></div>
107 <div class="box container-element"></div> 107 <div class="box container-element"></div>
108 <div class="box container-element"></div> 108 <div class="box container-element"></div>
109 <div class="box container-element"></div> 109 <div class="box container-element"></div>
110 </div> 110 </div>
111 </body> 111 </body>
112 </html> 112 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698