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

Unified Diff: LayoutTests/inspector/device-emulation/device-emulation-insets.html

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
« no previous file with comments | « no previous file | LayoutTests/inspector/device-emulation/device-emulation-insets-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/device-emulation/device-emulation-insets.html
diff --git a/LayoutTests/inspector/device-emulation/device-emulation-980-2x.html b/LayoutTests/inspector/device-emulation/device-emulation-insets.html
similarity index 68%
copy from LayoutTests/inspector/device-emulation/device-emulation-980-2x.html
copy to LayoutTests/inspector/device-emulation/device-emulation-insets.html
index 6972e926120243165cdb51ef9dff9cd06fe7568b..e83e6af83e82d5533940496986623a21fd7eea65 100644
--- a/LayoutTests/inspector/device-emulation/device-emulation-980-2x.html
+++ b/LayoutTests/inspector/device-emulation/device-emulation-insets.html
@@ -25,14 +25,14 @@ body {
<script>
function test()
{
- InspectorTest.testDeviceEmulation("device-emulation-980-2x.html", 1200, 1000, 2, "w=980");
+ InspectorTest.testDeviceEmulation("device-emulation-insets.html", 1200, 1000, 1, "none", new Insets(10, 20, 30, 40));
}
</script>
</head>
<body onload="runTest()">
<p>
-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.
</p>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/inspector/device-emulation/device-emulation-insets-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698