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

Unified Diff: LayoutTests/inspector/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: More fixes. Added one more test. Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698