OLD | NEW |
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 20 matching lines...) Expand all Loading... |
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', true); | 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 | |
42 testQuery('(-webkit-animation: 1)', true); | |
43 testQuery('(-webkit-transform-2d)', true); | |
44 } | 41 } |
45 | 42 |
46 </script> | 43 </script> |
47 </head> | 44 </head> |
48 <body onload="runTests()"> | 45 <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> | 46 <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"> | 47 <div id="results"> |
51 | 48 |
52 </div> | 49 </div> |
53 </body> | 50 </body> |
54 </html> | 51 </html> |
OLD | NEW |