Skip to content
This repository
Newer
Older
100644 104 lines (78 sloc) 3.427 kb
9b51228f » paulirish
2010-06-13 Adding Modernizr Test Suite. It tests the Modernizr API itself and th…
1 <!DOCTYPE html>
41666bc9 » danbeam
2011-08-27 making <html> class logic a tiny bit more robust (+ more tests)
2 <html class="+no-js no-js- no-js i-has-no-js">
9b51228f » paulirish
2010-06-13 Adding Modernizr Test Suite. It tests the Modernizr API itself and th…
3 <head>
4 <meta charset="UTF-8">
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
5 <title>Modernizr Test Suite</title>
6 <link rel="stylesheet" href="qunit/qunit.css">
7 <style>
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
8 body { margin-bottom: 150px;}
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
9 #testbed { font-family: Helvetica; color: #444; padding-bottom: 100px;}
10 #testbed button { margin: 30px; font-size: 13px;}
11 .data-notes, .offScreen { display:none;}
12 table { width: 100%;}
13 tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { border: 1px solid #ccc; border-left: 0; border-right: 0;}
14 table td:nth-child(even), table th:nth-child(even) { background: #e6e6e6;}
15 table tbody tr:hover td, table tbody tr:hover th { background: #e1e100!important;}
16 td.wrong { background:red!important;}
0bfed1b2 » paulirish
2011-05-23 rename Modernizr.event() to Modernizr.hasEvent(). add modules to tests.
17 #html5section { visibility: hidden; }
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
18 h1 label { display:none;}
752bfec6 » paulirish
2011-10-23 test suite: automated feature-detects dumping via github api. omg.
19 .output { padding: 0 0 0 16px;}
20 .output ul { margin: 0;}
21 .output li { color: #854747; }
22 .output li.yes{color:#090;}
23 .output li b{color:#000;}
24 .output {font:14px/1.3 Inconsolata,Consolas,monospace;
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
25 -webkit-column-count: 5;
26 -moz-column-count: 5;
27 column-count: 5;}
93b82852 » paulirish
2011-12-14 dump Modernizr data to a textarea in testsuite. add json2.js
28 .output + .output { border-top: 5px solid #ccc; }
29 textarea { width: 100%; min-height: 75px;}
30 #caniusetrigger { font-size: 38px; font-family: monospace; display:block; }
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
31 </style>
8f07c3ba » paulirish
2012-02-05 pull master modernizr.js for testsuite.
32
33
2a4753de » paulirish
2011-10-20 lets include our plugin tests in the test suite.
34 <script>window.Modernizr || document.write('<script src="../modernizr.js"><\/script>')</script>
35
d5aae951 » paulirish
2012-06-07 whitespace fixes
36 <script src="https://raw.github.com/Modernizr/Modernizr/master/modernizr.js"></script>
37
a7185b8c » paulirish
2011-10-23 test suite. little file reorg. no functional changes.
38 <script src="js/lib/polyfills.js"></script>
39 <script src="js/lib/detect-global.js"></script>
d5aae951 » paulirish
2012-06-07 whitespace fixes
40
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
41 <script src="qunit/qunit.js"></script>
752bfec6 » paulirish
2011-10-23 test suite: automated feature-detects dumping via github api. omg.
42 <script src="js/lib/jquery-1.7b2.js"></script>
d5aae951 » paulirish
2012-06-07 whitespace fixes
43
a7185b8c » paulirish
2011-10-23 test suite. little file reorg. no functional changes.
44 <script src="js/lib/jsonselect.js"></script>
45 <script src="js/lib/uaparser.js"></script>
46 <script src="js/lib/github.js"></script>
d5aae951 » paulirish
2012-06-07 whitespace fixes
47
a7185b8c » paulirish
2011-10-23 test suite. little file reorg. no functional changes.
48 <script src="js/setup.js"></script>
d5aae951 » paulirish
2012-06-07 whitespace fixes
49
62b4793b » paulirish
2011-05-22 test suite: new js folder
50 <script src="js/unit.js"></script>
51 <script src="js/unit-caniuse.js"></script>
9b51228f » paulirish
2010-06-13 Adding Modernizr Test Suite. It tests the Modernizr API itself and th…
52 </head>
53 <body>
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
54 <h1 id="qunit-header">Modernizr Test Suite</h1>
55 <h2 id="qunit-banner"></h2>
56 <div id="qunit-testrunner-toolbar"></div>
57 <h2 id="qunit-userAgent"></h2>
39799ae4 » mathiasbynens
2011-05-06 Add feature detect for <details> and <summary> as a plugin.
58
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
59 <ol id="qunit-tests"></ol>
752bfec6 » paulirish
2011-10-23 test suite: automated feature-detects dumping via github api. omg.
60
61 <div id="mod-output" class=output></div>
62 <div id="mod-feattest-output" class=output></div>
39799ae4 » mathiasbynens
2011-05-06 Add feature detect for <details> and <summary> as a plugin.
63
64
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
65 <br>
d5aae951 » paulirish
2012-06-07 whitespace fixes
66
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
67 <section><aside>this is an aside within a section</aside></section>
2a4753de » paulirish
2011-10-20 lets include our plugin tests in the test suite.
68
cade163d » paulirish
2011-05-22 merge in all the modernizr output into this page. we'll stick to this…
69
d5aae951 » paulirish
2012-06-07 whitespace fixes
70
71
93b82852 » paulirish
2011-12-14 dump Modernizr data to a textarea in testsuite. add json2.js
72 <h5>JSON.stringify(Modernizr)</h5>
73 <textarea></textarea>
d5aae951 » paulirish
2012-06-07 whitespace fixes
74 <a href="#" id="caniusetrigger"
75 onclick="return revealreftests(this)"
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
76 title="add a #caniuse hash to this page to make this automatic"
93b82852 » paulirish
2011-12-14 dump Modernizr data to a textarea in testsuite. add json2.js
77 >Show the Ref Tests from Caniuse and Modernizr</a>
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
78
79
752bfec6 » paulirish
2011-10-23 test suite: automated feature-detects dumping via github api. omg.
80 <script src="js/dumpdata.js"></script>
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
81 <script>
82 function revealreftests(a){
d5aae951 » paulirish
2012-06-07 whitespace fixes
83
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
84 if (!a) a = document.getElementById('caniusetrigger');
85 a.parentNode && a.parentNode.removeChild(a);
d5aae951 » paulirish
2012-06-07 whitespace fixes
86
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
87 var iframe = document.createElement('iframe');
88 iframe.src = 'caniuse.html';
89 iframe.style.cssText = 'width: 100%; height: 7000px; border: 15px double #F0C; \
90 -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; ';
91 document.body.appendChild(iframe);
d5aae951 » paulirish
2012-06-07 whitespace fixes
92
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
93 return false;
94 }
d5aae951 » paulirish
2012-06-07 whitespace fixes
95
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
96 if (location.hash.replace(/^#/,'') == 'caniuse'){
97 setTimeout(revealreftests, 100);
98 }
d5aae951 » paulirish
2012-06-07 whitespace fixes
99
f68ea41d » paulirish
2011-05-25 Why hello, caniuse.com test suite! This is big! ... details below:
100 </script>
d5aae951 » paulirish
2012-06-07 whitespace fixes
101
102
9b51228f » paulirish
2010-06-13 Adding Modernizr Test Suite. It tests the Modernizr API itself and th…
103 </body>
d5aae951 » paulirish
2012-06-07 whitespace fixes
104 </html>
Something went wrong with that request. Please try again.