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

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

Issue 2960023003: [DevTools] Migrate inspector-protocol/emulation tests to new harness (Closed)
Patch Set: Created 3 years, 5 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-protocol/resources/inspector-protocol-te st.js"></script>
5 <script src="../resources/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-980.html", 1200, 1000, 1 , "w=980");
28 }
29 </script>
30
31 </head>
32 <body onload="runTest()">
33 <p>
34 Tests that device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen.
35 </p>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698