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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/page/get-layout-metrics-expected.txt

Issue 2438023003: devtools: Adds Page.getLayoutMetrics. (Closed)
Patch Set: address comments. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/page/get-layout-metrics-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/page/get-layout-metrics-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/page/get-layout-metrics-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8e2053f6325d179e6a9d290ccf287d11bb4a894
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/page/get-layout-metrics-expected.txt
@@ -0,0 +1,18 @@
+Tests that Page.getLayoutMetrics returns reasonable values.
+
+LayoutViewport: {
+ clientHeight : 600
+ clientWidth : 785
+ pageX : 0
+ pageY : 200
+}
+VisualViewport: {
+ clientHeight : 600
+ clientWidth : 785
+ offsetX : 0
+ offsetY : 0
+ pageX : 0
+ pageY : 200
+ scale : 1
+}
+

Powered by Google App Engine
This is Rietveld 408576698