Index: LayoutTests/inspector/layer-scroll-rects-get.html |
diff --git a/LayoutTests/inspector/layer-scroll-rects-get.html b/LayoutTests/inspector/layer-scroll-rects-get.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5668e39d1619a9ccc153eec187634e170c4f0557 |
--- /dev/null |
+++ b/LayoutTests/inspector/layer-scroll-rects-get.html |
@@ -0,0 +1,24 @@ |
+<html> |
+<head> |
+<script src="../http/tests/inspector/inspector-test.js"></script> |
+<script src="../http/tests/inspector/layers-test.js"></script> |
+<script> |
+function test() |
+{ |
+ function onGotLayers() |
+ { |
+ InspectorTest.addResult("Scroll rectangles"); |
+ InspectorTest.dumpViewScrollRects(); |
+ |
+ InspectorTest.completeTest(); |
+ } |
+ |
+ WebInspector.showPanel("layers"); |
+ InspectorTest.requestLayers(onGotLayers); |
+} |
+</script> |
+</head> |
+<body onload="runTest()"> |
+<div style="-webkit-transform: translateZ(100px);" onmousewheel=""></div> |
+</body> |
+</html> |