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

Unified Diff: third_party/WebKit/LayoutTests/inspector/device-emulation/device-emulation-initial-scale-expected.txt

Issue 1638953002: [DevTools] Migrate device-emulation tests from OverridesSupport to inspector-protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/device-emulation/device-emulation-initial-scale-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/device-emulation/device-emulation-initial-scale-expected.txt b/third_party/WebKit/LayoutTests/inspector/device-emulation/device-emulation-initial-scale-expected.txt
deleted file mode 100644
index 204f60dbf985ada4dd4489932c381c859ad4f8e6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/inspector/device-emulation/device-emulation-initial-scale-expected.txt
+++ /dev/null
@@ -1,42 +0,0 @@
-Tests that turning on device emulation with a non-1 device pixel ratio sets the appropriate initial scale. Page scale is reflected by the innerWidth and innerHeight properties. Since the layout width is set to 980 (in the viewport meta tag), and the emulated viewport width is 490 px, the initial scale should be 490/980 = 0.5. i.e. innerWidth=980 innerHeight=640.
-
-Page reloaded.
-Emulating device: 490x320x3 viewport='w=980'
-Emulation warning: You might need to reload the page for proper user agent spoofing and viewport rendering.
-Device:
-window.screenX = 0px
-window.screenY = 0px
-Viewport: = ?w=980
-@media orientation = landscape
-window.orientation
-@media resolution = 288dpi
-@media device-pixel-ratio = 3
-window.devicePixelRatio = 3
-Widths:
-@media device-width = 490px
-screen.width = 490px
-screen.availWidth = 490px
-window.outerWidth = 490px
-window.innerWidth = 980px
-@media width = 980px
-doc.docElem.clientWidth = 980px
-doc.docElem.offsetWidth = 980px
-doc.docElem.scrollWidth = 980px
-doc.body.clientWidth = 980px
-doc.body.offsetWidth = 980px
-doc.body.scrollWidth = 980px
-Heights:
-@media device-height = 320px
-screen.height = 320px
-screen.availHeight = 320px
-window.outerHeight = 320px
-window.innerHeight = 640px
-@media height = 640px
-doc.docElem.clientHeight = 1000px
-doc.docElem.offsetHeight = 1000px
-doc.docElem.scrollHeight = 1000px
-doc.body.clientHeight = 640px
-doc.body.offsetHeight = 1000px
-doc.body.scrollHeight = 1000px
-
-

Powered by Google App Engine
This is Rietveld 408576698