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

Side by Side Diff: LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer.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 <script src="../../resources/run-after-display.js"></script> 5 <script src="../../resources/run-after-display.js"></script>
6 <style> 6 <style>
7 7
8 .compositedBehind { 8 .compositedBehind {
9 width: 500px; 9 width: 500px;
10 height: 500px; 10 height: 500px;
(...skipping 24 matching lines...) Expand all
35 35
36 <script> 36 <script>
37 if (window.testRunner) { 37 if (window.testRunner) {
38 testRunner.dumpAsText(); 38 testRunner.dumpAsText();
39 testRunner.waitUntilDone(); 39 testRunner.waitUntilDone();
40 } 40 }
41 41
42 if (window.internals) { 42 if (window.internals) {
43 /* Note carefully, compositing for fixed position is _disabled_ here */ 43 /* Note carefully, compositing for fixed position is _disabled_ here */
44 internals.settings.setAcceleratedCompositingForFixedPositionEnabled( false); 44 internals.settings.setAcceleratedCompositingForFixedPositionEnabled( false);
45 internals.settings.setFixedPositionCreatesStackingContext(true);
46 } 45 }
47 46
48 function test() 47 function test()
49 { 48 {
50 runAfterDisplay(function() { 49 runAfterDisplay(function() {
51 if (window.internals) 50 if (window.internals)
52 window.internals.startTrackingRepaints(document); 51 window.internals.startTrackingRepaints(document);
53 52
54 window.scrollTo(0, 100); 53 window.scrollTo(0, 100);
55 54
(...skipping 21 matching lines...) Expand all
77 <div class="compositedBehind"> </div> 76 <div class="compositedBehind"> </div>
78 77
79 <div class="containerOverlapsComposited"> 78 <div class="containerOverlapsComposited">
80 <div class="fixed"></div> 79 <div class="fixed"></div>
81 </div> 80 </div>
82 81
83 <pre id="layers"></pre> 82 <pre id="layers"></pre>
84 </body> 83 </body>
85 84
86 </html> 85 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698