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

Unified Diff: LayoutTests/inspector/device-emulation/device-emulation-insets-expected.txt

Issue 1209013002: [DevTools] Add test for screen size and position overrides. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/device-emulation/device-emulation-insets-expected.txt
diff --git a/LayoutTests/inspector/device-emulation/device-emulation-none-expected.txt b/LayoutTests/inspector/device-emulation/device-emulation-insets-expected.txt
similarity index 73%
copy from LayoutTests/inspector/device-emulation/device-emulation-none-expected.txt
copy to LayoutTests/inspector/device-emulation/device-emulation-insets-expected.txt
index dda2973c982c29e0c1b196299e5bb908a635c1b2..48ef30c1a0d1f91db2109205436f18d4e93e7b47 100644
--- a/LayoutTests/inspector/device-emulation/device-emulation-none-expected.txt
+++ b/LayoutTests/inspector/device-emulation/device-emulation-insets-expected.txt
@@ -1,11 +1,11 @@
-Tests that device emulation affects media rules, viewport meta tag, body dimensions and window.screen.
+Tests that device emulation with insets affects window.screenWidth, window.screenHeight, screen.width and screen.height.
Page reloaded.
Emulating device: 1200x1000x1 viewport='none'
Emulation warning: You might need to reload the page for proper user agent spoofing and viewport rendering.
Device:
-window.screenX = 0px
-window.screenY = 0px
+window.screenX = 10px
+window.screenY = 20px
Viewport: = ?none
@media orientation = landscape
window.orientation
@@ -13,9 +13,9 @@ window.orientation
@media device-pixel-ratio = 1
window.devicePixelRatio = 1
Widths:
-@media device-width = 1200px
-screen.width = 1200px
-screen.availWidth = 1200px
+@media device-width = 1240px
+screen.width = 1240px
+screen.availWidth = 1240px
window.outerWidth = 1200px
window.innerWidth = 1200px
@media width = 1200px
@@ -26,9 +26,9 @@ doc.body.clientWidth = 1200px
doc.body.offsetWidth = 1200px
doc.body.scrollWidth = 1200px
Heights:
-@media device-height = 1000px
-screen.height = 1000px
-screen.availHeight = 1000px
+@media device-height = 1060px
+screen.height = 1060px
+screen.availHeight = 1060px
window.outerHeight = 1000px
window.innerHeight = 1000px
@media height = 1000px

Powered by Google App Engine
This is Rietveld 408576698