Skip to content

Commit b7a465d

Browse files
authored
CSS: Scope QUnit UI button style to not affect #qunit-fixture
There are currently two places where we use buttons: * The toolbar, with the filter "Go" button and the "Apply" and "Reset" buttons for the module dropdown. * The test results, with the temporal "Abort" button. Fixes #1437. Backports #1452.
1 parent ec81c83 commit b7a465d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/qunit.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@
1111

1212
/** Font Family and Sizes */
1313

14-
15-
[id^=qunit] button {
14+
/* Style our buttons in a simple way, uninfluenced by the styles
15+
the tested app might load. Don't affect buttons in #qunit-fixture!
16+
https://github.com/qunitjs/qunit/pull/1395
17+
https://github.com/qunitjs/qunit/issues/1437 */
18+
#qunit-testrunner-toolbar button,
19+
#qunit-testresult button {
1620
font-size: initial;
1721
border: initial;
1822
background-color: buttonface;

0 commit comments

Comments
 (0)