OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Test CSSOM View module: MediaQueryList interface</title> | 3 <title>Test CSSOM View module: MediaQueryList 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 19 matching lines...) Expand all Loading... |
30 testQuery('all and (color)', true); | 30 testQuery('all and (color)', true); |
31 testQuery('not projection and (color)', true); | 31 testQuery('not projection and (color)', true); |
32 testQuery('(color)', true); | 32 testQuery('(color)', true); |
33 testQuery('(color', true); | 33 testQuery('(color', true); |
34 testQuery('color', false); | 34 testQuery('color', false); |
35 | 35 |
36 testQuery('garbage', false); | 36 testQuery('garbage', false); |
37 | 37 |
38 testQuery('(min-device-width: 100px)', true); | 38 testQuery('(min-device-width: 100px)', true); |
39 testQuery('(min-device-width: 50000px)', false); | 39 testQuery('(min-device-width: 50000px)', false); |
40 | |
41 testQuery('(-webkit-animation: 1)', true); | |
42 testQuery('(-webkit-transform-2d)', true); | |
43 } | 40 } |
44 | 41 |
45 </script> | 42 </script> |
46 </head> | 43 </head> |
47 <body onload="runTests()"> | 44 <body onload="runTests()"> |
48 <p>Test the MediaQueryList interface: <a href="http://dev.w3.org/csswg/cssom
-view/#the-mediaquerylist-interface" title="CSSOM View Module">http://dev.w3.org
/csswg/cssom-view/#the-mediaquerylist-interface</a>.</p> | 45 <p>Test the MediaQueryList interface: <a href="http://dev.w3.org/csswg/cssom
-view/#the-mediaquerylist-interface" title="CSSOM View Module">http://dev.w3.org
/csswg/cssom-view/#the-mediaquerylist-interface</a>.</p> |
49 <div id="results"> | 46 <div id="results"> |
50 </div> | 47 </div> |
51 </body> | 48 </body> |
52 </html> | 49 </html> |
OLD | NEW |