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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/device-emulation/device-emulation-980-only-viewport.html

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, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3
4 <script src="../../http/tests/inspector/inspector-test.js"></script>
5 <script src="../../http/tests/inspector/elements-test.js"></script>
6 <script src="device-emulation-test.js"></script>
7
8 <script>
9 // This test is based on http://jsbin.com/urowoh/latest.
10 setMetaViewport();
11 </script>
12
13 <style>
14 html {
15 overflow-x: hidden;
16 }
17
18 body {
19 margin: 0;
20 min-height: 1000px;
21 overflow-x: hidden;
22 }
23 </style>
24
25 <script>
26 function test()
27 {
28 InspectorTest.testDeviceEmulation("device-emulation-980-only-viewport.html", 0, 0, 0, "w=980");
29 }
30 </script>
31
32 </head>
33 <body onload="runTest()">
34 <p>
35 Tests that device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen.
36 </p>
37 </body>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698