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

Side by Side Diff: LayoutTests/compositing/absolute-inside-out-of-view-fixed.html

Issue 206463009: Rip out Settings::fixedPositionCreatesStackingContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo 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 3
4 <head> 4 <head>
5 <style> 5 <style>
6 body { 6 body {
7 margin: 0; 7 margin: 0;
8 height: 2500px; 8 height: 2500px;
9 } 9 }
10 10
(...skipping 11 matching lines...) Expand all
22 .wrapper { 22 .wrapper {
23 position: absolute; 23 position: absolute;
24 background-color: green; 24 background-color: green;
25 } 25 }
26 26
27 </style> 27 </style>
28 <script> 28 <script>
29 if (window.testRunner) { 29 if (window.testRunner) {
30 testRunner.waitUntilDone(); 30 testRunner.waitUntilDone();
31 testRunner.dumpAsText(); 31 testRunner.dumpAsText();
32 if (window.internals) { 32 if (window.internals)
33 window.internals.settings.setAcceleratedCompositingForFixedPositionE nabled(true); 33 window.internals.settings.setAcceleratedCompositingForFixedPositionE nabled(true);
34 window.internals.settings.setFixedPositionCreatesStackingContext(tru e);
35 }
36 } 34 }
37 35
38 function doScroll() 36 function doScroll()
39 { 37 {
40 window.setTimeout(function() { 38 window.setTimeout(function() {
41 window.scrollTo(0, 200); 39 window.scrollTo(0, 200);
42 if (window.internals) { 40 if (window.internals) {
43 document.getElementById('results').innerText = internals.layerTreeAs Text(document); 41 document.getElementById('results').innerText = internals.layerTreeAs Text(document);
44 testRunner.notifyDone(); 42 testRunner.notifyDone();
45 } 43 }
46 }, 10); 44 }, 10);
47 } 45 }
48 46
49 window.addEventListener('load', doScroll, false); 47 window.addEventListener('load', doScroll, false);
50 </script> 48 </script>
51 </head> 49 </head>
52 <body> 50 <body>
53 <pre id="results"></pre> 51 <pre id="results"></pre>
54 <div class="fixed"> 52 <div class="fixed">
55 <div class="wrapper box"> 53 <div class="wrapper box">
56 </div> 54 </div>
57 </div> 55 </div>
58 </body> 56 </body>
59 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698