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

Side by Side Diff: LayoutTests/compositing/squashing/squash-above-fixed-3.html

Issue 181653006: Remove testRunner.display() from most compositing/ tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert change to plugin test 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 <head> 3 <head>
4 <style> 4 <style>
5 5
6 #backgroundFixed { 6 #backgroundFixed {
7 -webkit-transform: translatez(0); 7 -webkit-transform: translatez(0);
8 position: fixed; 8 position: fixed;
9 height: 400px; 9 height: 400px;
10 width: 400px; 10 width: 400px;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 testRunner.dumpAsText(); 63 testRunner.dumpAsText();
64 64
65 if (window.internals) 65 if (window.internals)
66 internals.settings.setLayerSquashingEnabled(true); 66 internals.settings.setLayerSquashingEnabled(true);
67 67
68 function runTest() 68 function runTest()
69 { 69 {
70 if (!window.internals) 70 if (!window.internals)
71 return; 71 return;
72 72
73 testRunner.display();
74
75 // Case 1 73 // Case 1
76 document.getElementById('Case1').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 74 document.getElementById('Case1').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
77 75
78 // Case 2 76 // Case 2
79 window.internals.startTrackingRepaints(document); 77 window.internals.startTrackingRepaints(document);
80 window.scrollTo(0, 10); 78 window.scrollTo(0, 10);
81 document.getElementById('Case2').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 79 document.getElementById('Case2').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
82 window.internals.stopTrackingRepaints(document); 80 window.internals.stopTrackingRepaints(document);
83 81
84 // Case 3 82 // Case 3
(...skipping 30 matching lines...) Expand all
115 CASE 1, original layer tree: 113 CASE 1, original layer tree:
116 <pre id="Case1"></pre> 114 <pre id="Case1"></pre>
117 115
118 CASE 2, scrolling y by 10 pixels, both the "container" and "inner" should sc roll properly. 116 CASE 2, scrolling y by 10 pixels, both the "container" and "inner" should sc roll properly.
119 <pre id="Case2"></pre> 117 <pre id="Case2"></pre>
120 118
121 CASE 3, scrolling y further so that "inner" no longer overlaps the fixed-pos layer, then the stacking context of "container" includes the "innerScrolling" l ayer, and doubles in width: 119 CASE 3, scrolling y further so that "inner" no longer overlaps the fixed-pos layer, then the stacking context of "container" includes the "innerScrolling" l ayer, and doubles in width:
122 <pre id="Case3"></pre> 120 <pre id="Case3"></pre>
123 </div> 121 </div>
124 </body> 122 </body>
OLDNEW
« no previous file with comments | « LayoutTests/compositing/squashing/squash-above-fixed-2.html ('k') | LayoutTests/compositing/squashing/squash-onto-nephew.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698