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

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

Powered by Google App Engine
This is Rietveld 408576698