Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / layers / layer-scroll-rects-get.html
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.dumpModelScrollRects();
12         InspectorTest.completeTest();
13     }
14
15     InspectorTest.requestLayers(onGotLayers);
16 }
17 </script>
18 </head>
19 <body onload="runTest()">
20 <div style="transform: translateZ(100px);" onmousewheel=""></div>
21 <div id="touchable" style="transform:translateZ(100px);height:20px;width:20px;overflow:scroll;">
22     <div style="height:40px;width:40px;"></div>
23 </div>
24 <script type="text/javascript">
25     var element = document.getElementById('touchable');
26     element.addEventListener("touchstart", function(evt) {}, false);
27 </script>
28 </body>
29 </html>