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

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

Powered by Google App Engine
This is Rietveld 408576698