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

Side by Side Diff: LayoutTests/compositing/squashing/add-remove-squashed-layers.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 div { 5 div {
6 position: absolute; 6 position: absolute;
7 z-index: 1; 7 z-index: 1;
8 width: 100px; 8 width: 100px;
9 height: 100px; 9 height: 100px;
10 } 10 }
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 112 }
113 } 113 }
114 114
115 document.addEventListener("click", addOverlap3); 115 document.addEventListener("click", addOverlap3);
116 116
117 function runTest() 117 function runTest()
118 { 118 {
119 if (!window.internals) 119 if (!window.internals)
120 return; 120 return;
121 121
122 testRunner.display();
123
124 // Case 1 122 // Case 1
125 document.getElementById('Case1').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 123 document.getElementById('Case1').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
126 124
127 // Case 2 125 // Case 2
128 window.internals.startTrackingRepaints(document); 126 window.internals.startTrackingRepaints(document);
129 addOverlap3(); 127 addOverlap3();
130 document.getElementById('Case2').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS); 128 document.getElementById('Case2').textContent = window.internals.layerTre eAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
131 window.internals.stopTrackingRepaints(document); 129 window.internals.stopTrackingRepaints(document);
132 130
133 // Case 3 131 // Case 3
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 CASE 5, overlap2 gets added back: 184 CASE 5, overlap2 gets added back:
187 <pre id="Case5"></pre> 185 <pre id="Case5"></pre>
188 186
189 CASE 6, overlap1 gets added back, and overlap3 gets removed: 187 CASE 6, overlap1 gets added back, and overlap3 gets removed:
190 <pre id="Case6"></pre> 188 <pre id="Case6"></pre>
191 </div> 189 </div>
192 190
193 </body> 191 </body>
194 192
195 </html> 193 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698