Commit Graph

94 Commits

Author SHA1 Message Date
Scott González
b85e11564a Accordion: Removed static test pages. Added unit tests for dl markup structure. 2011-03-23 10:07:09 -04:00
Scott González
aaa21ddb0c Accordion tests: Fixed indentation. 2011-03-23 09:51:42 -04:00
Richard Worth
056cab82d8 Accordion: set aria-selected to true on selected header, false on others. Fixed #7078 - Accordion: Set aria-selected 2011-03-15 04:30:36 -04:00
Richard Worth
593799d6e3 Switched to latest stable jQuery 1.5.1 2011-03-02 20:49:20 -05:00
jzaefferer
9ac6bde8a9 Accordion: Improve unit test to get consistent results on mobile devices 2011-02-26 11:48:56 +01:00
jzaefferer
540b78d920 Adding a domEqual assertion to our testsuite for more sane DOM
comparisons. Comparing innerHTML is too dependent on random browser
quirks like IE only sometimes rendering closing tags.
2011-02-25 11:33:48 +01:00
jzaefferer
c37637ee99 Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use 2011-02-23 12:46:13 +01:00
jzaefferer
a1ebed70e3 Unit tests: Add QUnit toolbar for hiding passed tests 2011-02-21 20:39:35 +01:00
Scott González
f70f01af9e Accordion: Handle changing the event option. Fixes #6740 - Dynamically changing accordion's event handler doesn't actually change the behaviour. 2011-02-21 16:07:59 +01:00
Scott González
a4da197a91 Accordion: Added tests for custom header option. 2011-02-03 10:11:00 -05:00
Scott González
2e17770e54 Accordion: Update active option when programmatically collapsing the accordion. 2011-02-03 10:04:40 -05:00
Scott González
d099e3a3b2 Accordion: Handle negative values for active option on init. 2011-02-03 09:59:05 -05:00
Scott González
714a77f202 Accordion: Properly handle collapsible: false and active: false by changing active to 0. 2011-02-03 09:54:11 -05:00
Scott González
7a6dd71f8c Accordion: Allow canceling the beforeActivate event. Fixes #6896 - Accordion: Allow canceling the beforeActivate event. 2011-01-25 00:52:42 -05:00
Scott González
088ef05142 Accordion: Renamed changestart and change events to beforeActivate and activate, respectively. Fixes #6840 - Accordion: Rename changestart event to beforeActivate. Fixes #6842 - Accordion: Rename change event to activate. 2011-01-25 00:05:55 -05:00
Scott González
06d61f5f23 Accordion: More tests. 2011-01-24 22:40:03 -05:00
Scott González
2e214f984d Accordion test: Fixed an icon test. 2011-01-24 21:00:39 -05:00
Scott González
25f420eb9a Accordion tests: Cleaned up deprecated tests. 2011-01-24 20:35:58 -05:00
Scott González
5ed1046a4a Accordion tests: Cleanup. 2011-01-24 19:20:09 -05:00
Scott González
ecc0ef53de Accordion tests: Getting really ghetto in an attempt to get deprecated tests to run in TestSwarm. 2011-01-24 16:00:34 -05:00
Scott González
140d90a9a4 Accordion: Test cleanup. 2011-01-24 15:45:29 -05:00
Scott González
c96c249780 Accordion: First pass at splitting out tests for deprecated functionality. 2011-01-24 14:38:23 -05:00
Scott González
1b2f6ce095 Accordion: Renamed resize method to refresh. Fixes #6838 - Accordion: Rename resize method to refresh. 2011-01-14 12:18:33 -05:00
Scott González
468c35877a Accordion: Moved handling for programmatically collapsing the accordion out of the event handler. Modified event handler to not change the active option until after it determines that the event is valid. 2011-01-13 14:42:35 -05:00
Scott González
8b23483c0b Accordion: First pass at deprecating the activate method. Renamed _clickHandler to _eventHandler and removed extraneous parameter. Updated all tests to use the option methods instead of the activate method. 2011-01-11 20:53:31 -05:00
Alex Dovenmuehle
b6ed9328ef Accordion: Deprecated icons.headerSelected in favor of icons.activeHeader. Fixes #6834 - Accordion: Change icons.headerSelected to icons.activeHeader. 2011-01-11 15:38:47 -05:00
Scott González
d6edba5a89 Accordion: Move code for deprecated height options into an extension at the bottom of the plugin. 2010-12-19 16:38:15 -05:00
Scott González
f908281bc3 Accordion: Added test for heightStyle: fill with absolutely positioned sibling. 2010-12-19 16:26:03 -05:00
Alex Dovenmuehle
94a1786d56 Accordion: API Redesign. Made style changes and changed 'fill' implementation to use $.siblings() 2010-12-17 21:38:29 -05:00
Alex Dovenmuehle
490792be6a Accordion: API Redesign. Merged autoHeight, fillSpace, and clearStyle into a new option called heightStyle 2010-12-16 22:55:59 -05:00
Alex Dovenmuehle
f54747b302 Accordion: Added .ui-accordion-heading class to header's first child. Fixes #6743 - Accordion: Add .ui-accordion-heading class. 2010-12-10 14:54:50 -05:00
Scott González
fce1f97f76 Upgraded jQuery to 1.4.4. 2010-11-12 09:19:26 -05:00
Scott González
19f9c3a559 Upgraded jQuery to 1.4.3. 2010-10-21 22:29:28 -04:00
jzaefferer
d8bee228b3 Seperated testswarm injection from testsuite extensions, to fix 'failing' testsuites on TestSwarm due to unhandled errors and race conditions 2010-08-29 17:21:39 +02:00
Scott González
1e28040cf3 Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls. 2010-08-27 14:48:17 -04:00
jzaefferer
46b6a298cf Accordion unit tests: And another height-testing hotfix for Safari 3.x 2010-04-13 10:54:54 +02:00
jzaefferer
cfe3be7234 Accordion unit tests: One more height-testing hotfix for Safari 3.x 2010-04-13 10:36:04 +02:00
jzaefferer
4f4843a9fb Accordion unit tests: Remove role attribute to pass Opera 9 and adjust height tests to tolerate different results, as long as they are consistent 2010-04-13 10:13:13 +02:00
jzaefferer
53d9ac2098 Accordion unit tests: Trying some more style resets for getting accordion tests to pass in Safari 3.x, need to commit to see Testswarm results 2010-04-12 16:49:12 +02:00
jzaefferer
f7c68244a0 Accordion unit tests: Cleaned and fixed destroy-method test, working around html rendering inconsistencies 2010-04-12 16:44:37 +02:00
jzaefferer
ad6b4624b0 Accordion unit tests: Cleaned and fixed resize-method test, using #navigation avoids the :visible matching display:none issue in IE8 2010-04-12 16:12:05 +02:00
jzaefferer
0cb9c7d963 Accordion: different useless markup for getting consistent results for the destroy test 2010-04-03 17:48:39 +02:00
jzaefferer
d9c0b626cf Accordion: Trying some styl resets, maybe finding the one for Safari 3.x 2010-04-03 17:35:02 +02:00
jzaefferer
6d5e9b5e7a Accordion: more useless markup for getting consistent results for the destroy test 2010-04-03 17:31:04 +02:00
jzaefferer
7902d3945f Accordion: Improved resize-method test, starting with a fixed container height 2010-04-03 17:27:00 +02:00
jzaefferer
7d1c9cd348 Accordion: Rewrote the resize method test; fails in IE8, probably related to :visible issue 2010-04-03 17:21:31 +02:00
jzaefferer
cf2b0ca0d8 Accordion unit tests: Cleanup 2010-04-03 17:14:58 +02:00
jzaefferer
da0fe50ec5 Accordion unit tests: Use display!=none instead of :visible to work around :visible issue in IE8 2010-04-03 17:10:50 +02:00
jzaefferer
ad5bfc7f60 Accordion unit tests: Refactored state-helper function 2010-04-03 17:08:45 +02:00
jzaefferer
d5a6b33466 Accordion unit tets: Replacing destory method test with autocomplete/button approach, comparing before/after html - had to add some classes and empty style attributes to ignore class='' and style='', harmless enough 2010-03-27 08:01:41 +01:00