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

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

Issue 1837963002: Use fallback in LayoutThemeMobile on mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-controls-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/inspector-protocol-test.js"></s cript>
5 <script src="device-emulation-test.js"></script> 5 <script src="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(); 9 setMetaViewport();
10 </script> 10 </script>
11 11
12 <style> 12 <style>
13 html { 13 html {
14 overflow-x: hidden; 14 overflow-x: hidden;
15 } 15 }
16 16
17 body { 17 body {
18 margin: 0; 18 margin: 0;
19 min-height: 1000px; 19 min-height: 1000px;
20 overflow-x: hidden; 20 overflow-x: hidden;
21 } 21 }
22 </style> 22 </style>
23 23
24 <script> 24 <script>
25 function test() 25 function test()
26 { 26 {
27 InspectorTest.testDeviceEmulation("device-emulation-320-only-viewport.html", 0, 0, 0, "w=320"); 27 InspectorTest.testDeviceEmulation("device-emulation-controls.html", 800, 600 , 1, "none");
28 } 28 }
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 form controls are rendered with correct theme. See crbug.com/591315.
35 </p> 35 </p>
36 <form>
37 <input type="radio" class="device-emulation-measure">Radio<br>
38 <input type="checkbox" class="device-emulation-measure">Checkbox<br>
39 </form>
36 </body> 40 </body>
37 </html> 41 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-controls-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698