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

Side by Side Diff: LayoutTests/compositing/tiled-layers-hidpi.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 <html> 1 <html>
2 <style> 2 <style>
3 #composited { 3 #composited {
4 width: 1800px; 4 width: 1800px;
5 height: 10px; 5 height: 10px;
6 » » » -webkit-transform: translateZ(0); 6 » » » transform: translateZ(0);
7 background-color: blue; 7 background-color: blue;
8 } 8 }
9 </style> 9 </style>
10 <script> 10 <script>
11 function startTest() { 11 function startTest() {
12 if (window.testRunner) { 12 if (window.testRunner) {
13 testRunner.waitUntilDone(); 13 testRunner.waitUntilDone();
14 testRunner.dumpAsText(); 14 testRunner.dumpAsText();
15 testRunner.setBackingScaleFactor(2, finishTest); 15 testRunner.setBackingScaleFactor(2, finishTest);
16 } 16 }
17 } 17 }
18 18
19 function finishTest() { 19 function finishTest() {
20 setTimeout(function() { 20 setTimeout(function() {
21 document.getElementById('layer-tree').innerText = window.internals.layerTreeAsText(document); 21 document.getElementById('layer-tree').innerText = window.internals.layerTreeAsText(document);
22 testRunner.notifyDone(); 22 testRunner.notifyDone();
23 }, 0); 23 }, 0);
24 } 24 }
25 </script> 25 </script>
26 </head> 26 </head>
27 <body onload="startTest();"> 27 <body onload="startTest();">
28 <div id="composited"></div> 28 <div id="composited"></div>
29 <pre id="layer-tree">Layer tree goes here in DRT</pre> 29 <pre id="layer-tree">Layer tree goes here in DRT</pre>
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698