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

Side by Side Diff: LayoutTests/fast/media/matchmedium-query-api.html

Issue 15679021: Parse media attributes and CSSOM media text as media_query_list. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed review issues. Created 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/media/matchmedium-query-api-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 <title>Test CSSOM View module: Media interface</title> 3 <title>Test CSSOM View module: Media interface</title>
4 <style type="text/css"> 4 <style type="text/css">
5 5
6 </style> 6 </style>
7 <script type="text/javascript" charset="utf-8"> 7 <script type="text/javascript" charset="utf-8">
8 if (window.testRunner) 8 if (window.testRunner)
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 10
(...skipping 13 matching lines...) Expand all
24 } 24 }
25 25
26 function runTests() 26 function runTests()
27 { 27 {
28 testQuery('screen', true); 28 testQuery('screen', true);
29 testQuery('projection', false); 29 testQuery('projection', false);
30 30
31 testQuery('all and (color)', true); 31 testQuery('all and (color)', true);
32 testQuery('not projection and (color)', true); 32 testQuery('not projection and (color)', true);
33 testQuery('(color)', true); 33 testQuery('(color)', true);
34 testQuery('(color', false); 34 testQuery('(color', true);
35 testQuery('color', false); 35 testQuery('color', false);
36 36
37 testQuery('garbage', false); 37 testQuery('garbage', false);
38 38
39 testQuery('(min-device-width: 100px)', true); 39 testQuery('(min-device-width: 100px)', true);
40 testQuery('(min-device-width: 50000px)', false); 40 testQuery('(min-device-width: 50000px)', false);
41 41
42 testQuery('(-webkit-animation: 1)', true); 42 testQuery('(-webkit-animation: 1)', true);
43 testQuery('(-webkit-transform-2d)', true); 43 testQuery('(-webkit-transform-2d)', true);
44 } 44 }
45 45
46 </script> 46 </script>
47 </head> 47 </head>
48 <body onload="runTests()"> 48 <body onload="runTests()">
49 <p>Test the media interface: <a href="http://dev.w3.org/csswg/cssom-view/#the- media-interface" title="CSSOM View Module">http://dev.w3.org/csswg/cssom-view/#t he-media-interface</a>.</p> 49 <p>Test the media interface: <a href="http://dev.w3.org/csswg/cssom-view/#the- media-interface" title="CSSOM View Module">http://dev.w3.org/csswg/cssom-view/#t he-media-interface</a>.</p>
50 <div id="results"> 50 <div id="results">
51 51
52 </div> 52 </div>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/media/matchmedium-query-api-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698