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

Side by Side Diff: LayoutTests/compositing/overflow/scrolls-with-respect-to-nested.html

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 id='root'> 2 <html id='root'>
3 <head> 3 <head>
4 <style> 4 <style>
5 div { 5 div {
6 height: 350px; 6 height: 350px;
7 width: 500px; 7 width: 500px;
8 padding: 3px; 8 padding: 3px;
9 border-style: solid; 9 border-style: solid;
10 border-color: black; 10 border-color: black;
(...skipping 23 matching lines...) Expand all
34 background-color: blue; 34 background-color: blue;
35 } 35 }
36 </style> 36 </style>
37 <script> 37 <script>
38 if (window.testRunner) 38 if (window.testRunner)
39 testRunner.dumpAsText(); 39 testRunner.dumpAsText();
40 40
41 function doTest() 41 function doTest()
42 { 42 {
43 var pre = document.getElementById('console'); 43 var pre = document.getElementById('console');
44 var testDescription = 'This test ensures that RenderLayer::scrol lsWithRespectTo ' + 44 var testDescription = 'This test ensures that Layer::scrollsWith RespectTo ' +
45 'always works even with multiple levels of nested ' + 45 'always works even with multiple levels of nested ' +
46 'overflow-divs, including positioned and n on ' + 46 'overflow-divs, including positioned and n on ' +
47 'positioned elements, and a scrollable vie wport.\n\n'; 47 'positioned elements, and a scrollable vie wport.\n\n';
48 var text = document.createTextNode(testDescription); 48 var text = document.createTextNode(testDescription);
49 pre.appendChild(text); 49 pre.appendChild(text);
50 50
51 if(!window.internals) 51 if(!window.internals)
52 return; 52 return;
53 53
54 var divs = ['div1', 'div2', 'containingBlock', 'div4', 'div5', ' abs-descendant', 'fixed-descendant', 'viewportFiller', 'root']; 54 var divs = ['div1', 'div2', 'containingBlock', 'div4', 'div5', ' abs-descendant', 'fixed-descendant', 'viewportFiller', 'root'];
(...skipping 30 matching lines...) Expand all
85 </div> 85 </div>
86 <div class='filler'></div> 86 <div class='filler'></div>
87 </div> 87 </div>
88 <div class='filler'></div> 88 <div class='filler'></div>
89 </div> 89 </div>
90 90
91 <pre id='console'></pre> 91 <pre id='console'></pre>
92 <div id='viewportFiller' class='filler'></div> 92 <div id='viewportFiller' class='filler'></div>
93 </body> 93 </body>
94 </html> 94 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698