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

Side by Side Diff: LayoutTests/compositing/overflow/scrolls-with-respect-to-transform.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: 50px; 6 height: 50px;
7 width: 50px; 7 width: 50px;
8 padding: 3px; 8 padding: 3px;
9 border-style: solid; 9 border-style: solid;
10 border-color: black; 10 border-color: black;
(...skipping 19 matching lines...) Expand all
30 background-color: blue; 30 background-color: blue;
31 } 31 }
32 </style> 32 </style>
33 <script> 33 <script>
34 if (window.testRunner) 34 if (window.testRunner)
35 testRunner.dumpAsText(); 35 testRunner.dumpAsText();
36 36
37 function doTest() 37 function doTest()
38 { 38 {
39 var pre = document.getElementById('console'); 39 var pre = document.getElementById('console');
40 var testDescription = 'This test ensures that RenderLayer::scrol lsWithRespectTo ' + 40 var testDescription = 'This test ensures that Layer::scrollsWith RespectTo ' +
41 'always works even with transformed fixed- position layers.\n\n'; 41 'always works even with transformed fixed- position layers.\n\n';
42 var text = document.createTextNode(testDescription); 42 var text = document.createTextNode(testDescription);
43 pre.appendChild(text); 43 pre.appendChild(text);
44 44
45 if(!window.internals) 45 if(!window.internals)
46 return; 46 return;
47 47
48 var divs = ['fixed', 'container', 'overflow-child', 'abs-descend ant', 'fixed-descendant', 'viewportFiller', 'root']; 48 var divs = ['fixed', 'container', 'overflow-child', 'abs-descend ant', 'fixed-descendant', 'viewportFiller', 'root'];
49 for (var i = 0; i < divs.length; i++) { 49 for (var i = 0; i < divs.length; i++) {
50 var div1 = document.getElementById(divs[i]); 50 var div1 = document.getElementById(divs[i]);
(...skipping 18 matching lines...) Expand all
69 <div id='overflow-child' style='overflow:scroll'></div> 69 <div id='overflow-child' style='overflow:scroll'></div>
70 <div id='abs-descendant'></div> 70 <div id='abs-descendant'></div>
71 <div id='fixed-descendant'></div> 71 <div id='fixed-descendant'></div>
72 <div class='filler'></div> 72 <div class='filler'></div>
73 </div> 73 </div>
74 74
75 <pre id='console'></pre> 75 <pre id='console'></pre>
76 <div id='viewportFiller' class='filler'></div> 76 <div id='viewportFiller' class='filler'></div>
77 </body> 77 </body>
78 </html> 78 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698