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

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

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <script src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></s cript> 4 <script src="../../http/tests/inspector-protocol/resources/inspector-protocol-te st.js"></script>
5 <script src="device-emulation-test.js"></script> 5 <script src="../resources/device-emulation-test.js"></script>
6 6
7 <script> 7 <script>
8 // This test is based on http://jsbin.com/urowoh/latest. 8 // This test is based on http://jsbin.com/urowoh/latest.
9 setMetaViewport("w=dw"); 9 setMetaViewport("w=dw");
10 </script> 10 </script>
11 11
12 <style> 12 <style>
13 html { 13 html {
14 overflow-x: hidden; 14 overflow-x: hidden;
15 } 15 }
(...skipping 13 matching lines...) Expand all
29 </script> 29 </script>
30 30
31 </head> 31 </head>
32 <body onload="runTest()"> 32 <body onload="runTest()">
33 <p> 33 <p>
34 Tests that device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen. 34 Tests that device emulation affects media rules, viewport meta tag, body dimensi ons and window.screen.
35 Emulating small device on a page with viewport "width=device-width" set should w ork without reload for page without scrollbar. 35 Emulating small device on a page with viewport "width=device-width" set should w ork without reload for page without scrollbar.
36 </p> 36 </p>
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698