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

Side by Side Diff: LayoutTests/inspector/layers/layer-scroll-rects-get.html

Issue 166273018: Added showing slow scroll rectangles in Layers panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/layers-test.js"></script>
5 <script>
6 function test()
7 {
8 function onGotLayers()
9 {
10 InspectorTest.addResult("Scroll rectangles");
11 InspectorTest.dumpViewScrollRects();
12 InspectorTest.completeTest();
13 }
14
15 WebInspector.inspectorView.showPanel("layers");
16 InspectorTest.requestLayers(onGotLayers);
17 }
18 </script>
19 </head>
20 <body onload="runTest()">
21 <div style="-webkit-transform: translateZ(100px);" onmousewheel=""></div>
22 <div id="touchable" style="-webkit-transform:translateZ(100px);height:20px;width :20px;overflow:scroll;">
23 <div style="height:40px;width:40px;"></div>
24 </div>
25 <script type="text/javascript">
26 var element = document.getElementById('touchable');
27 element.addEventListener("touchstart", function(evt) {}, false);
28 </script>
29 </body>
30 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/layers-test.js ('k') | LayoutTests/inspector/layers/layer-scroll-rects-get-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698