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

Side by Side Diff: LayoutTests/inspector/console/console-log-media-query-warning.html

Issue 963743002: Remove the warning message to inspector for dpi/dcm values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: layout test fix + nits Created 5 years, 9 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 | LayoutTests/inspector/console/console-log-media-query-warning-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 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <style> 5 <style>
6 @media 6 @media
7 only screen and ( min-resolution: 192dpi), 7 only screen and ( min-resolution: 192dpi),
8 only screen and ( min-resolution: 2dppx) { 8 only screen and ( min-resolution: 2dppx) {
9 /* No warning because dppx value used */ 9 /* No warning because dppx value used */
10 } 10 }
11 </style> 11 </style>
12 <style> 12 <style>
13 @media 13 @media
14 only screen and ( min-resolution: 2dppx) 14 only screen and ( min-resolution: 2dppx)
15 only screen and ( min-resolution: 192dpi) { 15 only screen and ( min-resolution: 192dpi) {
16 /* No warning because dppx value used */ 16 /* No warning because dppx value used */
17 } 17 }
18 </style> 18 </style>
19 <style>
20 @media
21 only screen and ( min-resolution: 192dpi) {
22 /* Warning */
23 }
24 </style>
25 <script> 19 <script>
26 function test() 20 function test()
27 { 21 {
28 InspectorTest.dumpConsoleMessages(); 22 InspectorTest.dumpConsoleMessages();
29 InspectorTest.completeTest(); 23 InspectorTest.completeTest();
30 } 24 }
31 </script> 25 </script>
32 </head> 26 </head>
33 <body onload="runTest()"> 27 <body onload="runTest()">
34 <p> 28 <p>
35 Tests warning on dpi values in media query (see http://crbug/336276). 29 Tests warning on dpi values in media query (see http://crbug/336276).
36 </p> 30 </p>
37 </body> 31 </body>
38 </html> 32 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-log-media-query-warning-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698