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

Side by Side Diff: LayoutTests/compositing/tiling/tile-cache-zoomed.html

Issue 16509007: Cleanup constants for layerTreeAsText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: naming Created 7 years, 6 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 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 body { 6 body {
7 width: 1200px; 7 width: 1200px;
8 height: 2000px; 8 height: 2000px;
9 overflow: hidden; 9 overflow: hidden;
10 } 10 }
11 11
12 .box { 12 .box {
13 height: 2500px; 13 height: 2500px;
14 width: 700px; 14 width: 700px;
15 -webkit-transform: translateZ(1px); 15 -webkit-transform: translateZ(1px);
16 background-color: silver; 16 background-color: silver;
17 } 17 }
18 </style> 18 </style>
19 <script> 19 <script>
20 if (window.testRunner) 20 if (window.testRunner)
21 testRunner.dumpAsText(); 21 testRunner.dumpAsText();
22 22
23 function doTest() 23 function doTest()
24 { 24 {
25 if (window.eventSender) 25 if (window.eventSender)
26 eventSender.scalePageBy(1.6, 1.6); 26 eventSender.scalePageBy(1.6, 1.6);
27 27
28 if (window.internals) { 28 if (window.internals) {
29 document.getElementById('layers').innerText = internals.layerTre eAsText(document, 29 document.getElementById('layers').innerText = internals.layerTre eAsText(document);
30 internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYE R_TREE_INCLUDES_TILE_CACHES);
31 } 30 }
32 } 31 }
33 32
34 window.addEventListener('load', doTest, false); 33 window.addEventListener('load', doTest, false);
35 </script> 34 </script>
36 </head> 35 </head>
37 <body> 36 <body>
38 <div class="box"> 37 <div class="box">
39 38
40 </div> 39 </div>
41 <pre id="layers">Layer tree goes here</p> 40 <pre id="layers">Layer tree goes here</p>
42 </body> 41 </body>
43 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698