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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-far-expected.html

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adress Dmitry's comments + sync. Created 4 years, 3 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/emulation/forced-viewport-far-expected.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-far-expected.html b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-far-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..690f062955a68a465dcde32cdceb9283b377cc0e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-far-expected.html
@@ -0,0 +1,29 @@
+<html>
+<head>
+
+<style>
+html {
+ overflow: hidden;
+}
+
+body {
+ margin: 0;
+ min-height: 1000px;
+ overflow: hidden;
+}
+
+#far {
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ width: 200px;
+ height: 200px;
+ background-color: green;
+}
+</style>
+
+</head>
+<body>
+<div id="far"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698