Skip to content

Commit 7b60f2b

Browse files
committed
Build: Downgrade QUnit from 2.5.0 to 1.23.1 to support IE <9
1 parent 6d46e2a commit 7b60f2b

File tree

4 files changed

+4344
-6795
lines changed

4 files changed

+4344
-6795
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"test"
1717
],
1818
"devDependencies": {
19-
"qunit": "2.10.0",
19+
"qunit": "1.23.1",
2020
"jquery-1.5.2": "jquery#1.5.2",
2121
"jquery-1.6.4": "jquery#1.6.4",
2222
"jquery-1.7.2": "jquery#1.7.2",

external/qunit/LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Copyright JS Foundation and other contributors, https://js.foundation
1+
Copyright jQuery Foundation and other contributors, https://jquery.org/
22

33
This software consists of voluntary contributions made by many
44
individuals. For exact contribution history, see the revision history
5-
available at https://github.com/qunitjs/qunit
5+
available at https://github.com/jquery/qunit
66

77
The following license applies to all parts of this software except as
88
documented below:

external/qunit/qunit.css

Lines changed: 29 additions & 171 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
/*!
2-
* QUnit 2.10.0
2+
* QUnit 1.23.1
33
* https://qunitjs.com/
44
*
55
* Copyright jQuery Foundation and other contributors
66
* Released under the MIT license
77
* https://jquery.org/license
88
*
9-
* Date: 2020-05-02T22:51Z
9+
* Date: 2016-04-12T17:29Z
1010
*/
1111

1212
/** Font Family and Sizes */
1313

14-
15-
[id^=qunit] button {
16-
font-size: initial;
17-
border: initial;
18-
background-color: buttonface;
19-
}
20-
2114
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-filteredTest, #qunit-userAgent, #qunit-testresult {
2215
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
2316
}
@@ -34,7 +27,7 @@
3427
}
3528

3629

37-
/** Header (excluding toolbar) */
30+
/** Header */
3831

3932
#qunit-header {
4033
padding: 0.5em 0 0.5em 1em;
@@ -59,165 +52,51 @@
5952
color: #FFF;
6053
}
6154

55+
#qunit-testrunner-toolbar label {
56+
display: inline-block;
57+
padding: 0 0.5em 0 0.1em;
58+
}
59+
6260
#qunit-banner {
6361
height: 5px;
6462
}
6563

64+
#qunit-testrunner-toolbar {
65+
padding: 0.5em 1em 0.5em 1em;
66+
color: #5E740B;
67+
background-color: #EEE;
68+
overflow: hidden;
69+
}
70+
6671
#qunit-filteredTest {
6772
padding: 0.5em 1em 0.5em 1em;
68-
color: #366097;
6973
background-color: #F4FF77;
74+
color: #366097;
7075
}
7176

7277
#qunit-userAgent {
7378
padding: 0.5em 1em 0.5em 1em;
74-
color: #FFF;
7579
background-color: #2B81AF;
80+
color: #FFF;
7681
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
7782
}
7883

79-
80-
/** Toolbar */
81-
82-
#qunit-testrunner-toolbar {
83-
padding: 0.5em 1em 0.5em 1em;
84-
color: #5E740B;
85-
background-color: #EEE;
86-
}
87-
88-
#qunit-testrunner-toolbar .clearfix {
89-
height: 0;
90-
clear: both;
91-
}
92-
93-
#qunit-testrunner-toolbar label {
94-
display: inline-block;
95-
}
96-
97-
#qunit-testrunner-toolbar input[type=checkbox],
98-
#qunit-testrunner-toolbar input[type=radio] {
99-
margin: 3px;
100-
vertical-align: -2px;
101-
}
102-
103-
#qunit-testrunner-toolbar input[type=text] {
104-
box-sizing: border-box;
105-
height: 1.6em;
106-
}
107-
108-
#qunit-toolbar-filters {
84+
#qunit-modulefilter-container {
10985
float: right;
86+
padding: 0.2em;
11087
}
11188

112-
.qunit-url-config,
113-
.qunit-filter,
114-
#qunit-modulefilter {
89+
.qunit-url-config {
11590
display: inline-block;
116-
line-height: 2.1em;
117-
}
118-
119-
.qunit-filter,
120-
#qunit-modulefilter {
121-
position: relative;
122-
margin-left: 1em;
123-
}
124-
125-
.qunit-url-config label {
126-
margin-right: 0.5em;
127-
}
128-
129-
#qunit-modulefilter-search {
130-
box-sizing: border-box;
131-
min-width: 400px;
132-
}
133-
134-
#qunit-modulefilter-search-container:after {
135-
position: absolute;
136-
right: 0.3em;
137-
content: "\25bc";
138-
color: black;
91+
padding: 0.1em;
13992
}
14093

141-
#qunit-modulefilter-dropdown {
142-
/* align with #qunit-modulefilter-search */
143-
box-sizing: border-box;
144-
min-width: 400px;
145-
position: absolute;
146-
right: 0;
147-
top: 50%;
148-
margin-top: 0.8em;
149-
150-
border: 1px solid #D3D3D3;
151-
border-top: none;
152-
border-radius: 0 0 .25em .25em;
153-
color: #000;
154-
background-color: #F5F5F5;
155-
z-index: 99;
156-
}
157-
158-
#qunit-modulefilter-dropdown a {
159-
color: inherit;
160-
text-decoration: none;
161-
}
162-
163-
#qunit-modulefilter-dropdown .clickable.checked {
164-
font-weight: bold;
165-
color: #000;
166-
background-color: #D2E0E6;
167-
}
168-
169-
#qunit-modulefilter-dropdown .clickable:hover {
170-
color: #FFF;
171-
background-color: #0D3349;
172-
}
173-
174-
#qunit-modulefilter-actions {
175-
display: block;
176-
overflow: auto;
177-
178-
/* align with #qunit-modulefilter-dropdown-list */
179-
font: smaller/1.5em sans-serif;
180-
}
181-
182-
#qunit-modulefilter-dropdown #qunit-modulefilter-actions > * {
183-
box-sizing: border-box;
184-
max-height: 2.8em;
94+
.qunit-filter {
18595
display: block;
186-
padding: 0.4em;
187-
}
188-
189-
#qunit-modulefilter-dropdown #qunit-modulefilter-actions > button {
19096
float: right;
191-
font: inherit;
192-
}
193-
194-
#qunit-modulefilter-dropdown #qunit-modulefilter-actions > :last-child {
195-
/* insert padding to align with checkbox margins */
196-
padding-left: 3px;
197-
}
198-
199-
#qunit-modulefilter-dropdown-list {
200-
max-height: 200px;
201-
overflow-y: auto;
202-
margin: 0;
203-
border-top: 2px groove threedhighlight;
204-
padding: 0.4em 0 0;
205-
font: smaller/1.5em sans-serif;
206-
}
207-
208-
#qunit-modulefilter-dropdown-list li {
209-
white-space: nowrap;
210-
overflow: hidden;
211-
text-overflow: ellipsis;
212-
}
213-
214-
#qunit-modulefilter-dropdown-list .clickable {
215-
display: block;
216-
padding-left: 0.15em;
217-
padding-right: 0.5em;
97+
margin-left: 1em;
21898
}
21999

220-
221100
/** Tests: Pass/Fail */
222101

223102
#qunit-tests {
@@ -237,8 +116,7 @@
237116
#qunit-tests li.running,
238117
#qunit-tests li.pass,
239118
#qunit-tests li.fail,
240-
#qunit-tests li.skipped,
241-
#qunit-tests li.aborted {
119+
#qunit-tests li.skipped {
242120
display: list-item;
243121
}
244122

@@ -247,7 +125,7 @@
247125
}
248126

249127
#qunit-tests.hidepass li.running,
250-
#qunit-tests.hidepass li.pass:not(.todo) {
128+
#qunit-tests.hidepass li.pass {
251129
visibility: hidden;
252130
position: absolute;
253131
width: 0;
@@ -324,14 +202,14 @@
324202
}
325203

326204
#qunit-tests del {
327-
color: #374E0C;
328205
background-color: #E0F2BE;
206+
color: #374E0C;
329207
text-decoration: none;
330208
}
331209

332210
#qunit-tests ins {
333-
color: #500;
334211
background-color: #FFCACA;
212+
color: #500;
335213
text-decoration: none;
336214
}
337215

@@ -386,16 +264,12 @@
386264

387265
#qunit-banner.qunit-fail { background-color: #EE5757; }
388266

389-
390-
/*** Aborted tests */
391-
#qunit-tests .aborted { color: #000; background-color: orange; }
392267
/*** Skipped tests */
393268

394269
#qunit-tests .skipped {
395270
background-color: #EBECE9;
396271
}
397272

398-
#qunit-tests .qunit-todo-label,
399273
#qunit-tests .qunit-skipped-label {
400274
background-color: #F4FF77;
401275
display: inline-block;
@@ -406,35 +280,19 @@
406280
margin: -0.4em 0.4em -0.4em 0;
407281
}
408282

409-
#qunit-tests .qunit-todo-label {
410-
background-color: #EEE;
411-
}
412-
413283
/** Result */
414284

415285
#qunit-testresult {
286+
padding: 0.5em 1em 0.5em 1em;
287+
416288
color: #2B81AF;
417289
background-color: #D2E0E6;
418290

419291
border-bottom: 1px solid #FFF;
420292
}
421-
#qunit-testresult .clearfix {
422-
height: 0;
423-
clear: both;
424-
}
425293
#qunit-testresult .module-name {
426294
font-weight: 700;
427295
}
428-
#qunit-testresult-display {
429-
padding: 0.5em 1em 0.5em 1em;
430-
width: 85%;
431-
float:left;
432-
}
433-
#qunit-testresult-controls {
434-
padding: 0.5em 1em 0.5em 1em;
435-
width: 10%;
436-
float:left;
437-
}
438296

439297
/** Fixture */
440298

0 commit comments

Comments
 (0)