Commit Graph

698 Commits

Author SHA1 Message Date
Scott González
936a934d6d Accordion: Fixed visual test for dl markup.
Fixes #5329 - Nested Accordion header is not lined up properly.
2010-03-14 19:05:59 +00:00
Richard Worth
758548faab dialog: added visual test for position right top 2010-03-12 13:35:19 +00:00
Richard Worth
8b502d8563 rename 2010-03-12 13:28:17 +00:00
Richard Worth
86e8fbcc11 button: added visual test for button option disabled 2010-03-12 13:27:49 +00:00
Richard Worth
bfc180b1ba html pages: added HTML5 meta charset UTF-8 tag, changed DOCTYPE to uppercase 2010-03-12 03:18:34 +00:00
Richard Worth
a27b789cfd resizable visual test: changed alsoResize child test to have position:absolute parent and position:relative child. This is the source of the dialog issue #5323 - dialog content shifts when dialog resized from top or left 2010-03-12 01:48:45 +00:00
Richard Worth
012da0cab7 resizable: added visual test for alsoResize with child element 2010-03-12 01:21:36 +00:00
Richard Worth
7898303437 dialog: corrected typo in ui.position property for drag events. Updated unit tests tracking fix of #5291 2010-03-11 20:48:21 +00:00
Scott González
d3cb190377 Button: Fixed tests that check for hidden button elements. 2010-03-11 20:10:26 +00:00
Richard Worth
7799b4ecf9 Fixed #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event 2010-03-11 06:31:16 +00:00
Richard Worth
493e0395c1 button visual tests: minor cleanup of 5254 visual test (removed unused metadata plugin reference), added button input type checkbox visual test 2010-03-11 04:32:07 +00:00
Scott González
5f213572d6 Autocomplete: Append menu to body and reset z-index on every suggestion.
Fixes #5271.
2010-03-11 03:28:00 +00:00
Richard Worth
cef16fdf78 Checkbox must not be all the way hidden for change to fire in IE. Switched out .hide() for ui-helper-hidden-accessible class instead. Fixes #5261 - button change events don't fire in IE 7/8 2010-03-11 02:09:45 +00:00
Richard Worth
bf7f1352fd button: added visual test for #5254 - Input, button and anchor buttons aren't consistent in IE7 2010-03-04 14:06:53 +00:00
Richard Worth
9483dcdbe6 Externals: updated QUnit to http://github.com/jquery/qunit commit 67ba5a338d836014c24345dc218ab3c9bb63b06e
The various updates to the unit test suites introduced 0 regressions due to update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test suite did introduce one regression, to the dialog option height tests.
Also removed some old crufty woefully incomplete unused and rotted test harnesses.
2010-02-25 11:09:39 +00:00
Jörn Zaefferer
1fd3e6bd0b Visual testcase for #4231 2010-02-24 19:27:13 +00:00
Richard Worth
2f11730a52 Externals: updated jquery.cookie plugin to http://github.com/carhartl/jquery-cookie commit 6818b83dff89e9cac9e95acd9d78bf0179777e3d 2010-02-24 18:46:56 +00:00
Brant Burnett
e2202847c6 Dialog: Changed height measurement to hide content because IE quirks mode ignores height: 0 (Fixed #4350 No Scrollbars in IE in Quirksmode) 2010-02-22 17:37:08 +00:00
Scott González
9cabe8403e Buttons: Removed the logic for triggering click events on checkboxes and radio buttons. This logic was actually causing the opposite functionality from what we wanted.
Fixes #5195 - .buttonset() prevents change event from being catchable.
2010-02-18 02:43:23 +00:00
Richard Worth
0798b10717 Fixed #5182 - Update to jQuery 1.4.2 2010-02-16 02:39:57 +00:00
Scott González
c9f30818af Dialog: Update the internal flag for whether or not the dialog is open before triggering the close event.
Fixes #5184 - isOpen in dialogclose event is true.
2010-02-16 02:13:38 +00:00
Richard Worth
828bcdd2f0 fixed #5163 - themes: css files need to be renamed to be consistent with js file renames in 1.8a1 2010-02-16 01:38:23 +00:00
Ca-Phun Ung
5eeaa658ba datepicker: fixes #4443: Datepicker's vertical position in thickbox. This also fixes the virtual position when the datepicker is close but not right at the bottom of the page. 2010-02-09 04:09:26 +00:00
Scott González
b20df98b18 Unit Tests: Added autocomplete and button to list of tests.
Fixes #5149 - Button is missing on unit test index page.
2010-02-08 02:10:25 +00:00
Richard Worth
ec5e7ad95b resizable method destroy: put unwrapped original element in wrapper's place instead of at the end of wrapper's parent. Fixes #4940 - resizable('destroy') moves images to end of parent element 2010-02-03 01:22:02 +00:00
Jörn Zaefferer
df391a998f Fix for #5120 - create menu only once and return that element from the widget method, put ui-autocomplete class on menu 2010-02-02 14:04:50 +00:00
Brant Burnett
b91ecde0a7 'Changed 2010-01-29 18:38:21 +00:00
Keith Wood
f214b70889 Datepicker: Fixed conflict between beforeShowDay and getDate
http://forum.jquery.com/topic/several-breaking-changes-in-jquery-ui-1-8rc1
2010-01-29 08:09:03 +00:00
Paul Bakaus
9617d15054 draggable: implemented #4145 - start,drag and stop events should be preventable 2010-01-28 16:35:59 +00:00
Jörn Zaefferer
b49dbf4075 Fix for #5101 - broken dialog visual test page 2010-01-27 17:57:50 +00:00
Jörn Zaefferer
ba948b82c7 autocomplete: adding select element to visual test page for bgiframe testing 2010-01-27 17:56:22 +00:00
Richard Worth
79bd955054 switched to jQuery 1.4.1 2010-01-27 12:29:43 +00:00
Richard Worth
3eaf9daaca Deprecated beforeclose option instead of removing it for now, fixes reopened #4669 - Dialog: beforeclose option should be beforeClose. 2010-01-27 10:31:17 +00:00
Jörn Zaefferer
93ed6d5a0c button: visual default test, log args when console is available 2010-01-22 22:52:58 +00:00
Jörn Zaefferer
568b607b81 added class animations (including 1.4 style callbacks) to visual effects test page 2010-01-21 17:32:52 +00:00
Jörn Zaefferer
d01e785c98 button: don't log a click on disabled buttons 2010-01-20 17:43:30 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Richard Worth
eecbde22a6 eol-style and mime-type 2010-01-20 14:00:14 +00:00
Richard Worth
a1e069759d switched to jQuery 1.4 2010-01-20 13:52:38 +00:00
Scott González
34266c3b15 Nested Plugin visual test: sortable accordion inside sortable tabs. 2010-01-20 00:13:25 +00:00
Scott González
23413d2ebc Nested Plugin visual test: draggable inside accordion inside accordion inside tabs inside draggable. 2010-01-20 00:04:48 +00:00
Scott González
010385b2fa Dialog, position: Removed bgiframe option; always use bgiframe when available.
Fixes #5071 - Remove bgiframe option from all plugins.
2010-01-19 23:25:38 +00:00
Scott González
0ec857a5bd Button: conform to coding standards. 2010-01-18 01:58:15 +00:00
Scott González
7d96a0d096 Widget factory: Changed _create to _init.
Partial fix for #5064 - Widget: make multiple instantiation more useful.
2010-01-15 18:58:20 +00:00
Scott González
1c31a26b56 Replaced stackfix with bgiframe.
Fixes #5061 - Remove stackfix.
2010-01-14 18:09:07 +00:00
Scott González
6024fdf256 Copied autocomplete from dev branch. 2010-01-14 17:23:11 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Richard Worth
1a6043dbec slider: fixed missing references to mouse plugin 2010-01-01 12:43:36 +00:00
Richard Worth
7d1ee00123 eol-style 2010-01-01 12:09:54 +00:00
Richard Worth
d6902c8b73 added missing reference to position utility 2010-01-01 12:08:22 +00:00
Richard Worth
41749bf122 Fixed #4960 - Tabs: wrong selected tab index 2009-12-31 13:43:54 +00:00
Richard Worth
5ab4b615a5 Datepicker: added visual test page for #4071 2009-12-31 01:11:23 +00:00
Keith Wood
0c35c1135f Datepicker: Corrected tests for changes in r3494 2009-12-26 08:35:40 +00:00
Scott González
9a786e03a1 Tabs: fixed to work with empty nav list again.
Fixes #4997 - No longer possible to start with empty tab then add() elements dynamically.
2009-12-25 18:25:46 +00:00
Richard Worth
50cbf9f60e updated unit test for #4031 - Tabs: Remove deselectable option 2009-12-24 01:25:30 +00:00
Richard Worth
b836174835 slider unit tests: added missing reference to jquery.ui.mouse.js 2009-12-24 01:24:55 +00:00
Richard Worth
c7c0fd5023 updated unit test for #3991 - Sortable: Remove absolutePosition from ui hash 2009-12-24 01:18:00 +00:00
Scott González
752c191a71 Added jquery.ui.mouse.js to non-interaction demos/tests that use interaction plugins. 2009-12-23 03:29:33 +00:00
Scott González
06e29401b8 Split mouse into its own file and udpdated dependency lists.
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Jörn Zaefferer
b6d17b24d4 extracting widget factory into jquery.ui.widget.js 2009-12-16 22:20:18 +00:00
Keith Wood
d33c2de502 Datepicker - Fixed #4870 - yearRange doesn't work as expected 2009-12-01 01:27:25 +00:00
Keith Wood
fe217c4745 Datepicker - Fixed #4787 - Datepicker: fix animation control 2009-12-01 01:24:00 +00:00
Richard Worth
d2a335cabd eol-style and mime-type 2009-11-21 22:30:54 +00:00
Richard Worth
d24668d3bc Slider: added visual test page for #4467 2009-11-21 22:30:13 +00:00
Scott González
56c6def926 Slider: Added paging - page up/down jumps by 1/5 the size of the range.
Fixes #3096 - Add a paging option for slider
2009-11-09 03:10:57 +00:00
Scott González
b3a095d3ef Removed use of .data() for getting/setting options in tests; using each plugin's option method instead. Fixes #4853 - Remove use of .data() for options in tests. 2009-11-09 01:50:23 +00:00
Jörn Zaefferer
cef5e6f346 progressbar: enhanced visual test 2009-10-20 19:58:47 +00:00
Richard Worth
b7bf4b4527 Slider: Fixed animation to respond to keypress as well as mouse click, animation still does not occur at init or during mouse drag slide, both by design. Animation now occurs, if animate is on, when using the value method, but not when using the value option. This allows for animated and non-animated programmatic setting of values without changing the animate option.
Fixes #4432 - Allow animation when programmatically changing slider value
Fixes #4659 - Allow slider to animate if slider value is set programatically
2009-10-12 10:50:38 +00:00
Jörn Zaefferer
751d7c521b update to latest QUnit 2009-09-29 07:48:14 +00:00
Richard Worth
0cbda3aaf1 dialog: added a visual test page for the buttons option 2009-09-25 00:03:15 +00:00
Richard Worth
c6990895be slider unit tests: method value 2009-09-19 15:34:20 +00:00
Richard Worth
f164edbdd9 slider: fixed disabled on init, methods enable and disable 2009-09-19 15:19:42 +00:00
Jörn Zaefferer
122a6cdd5f dialog: fixed _position regression; wrote a test for the default positon, which still needs some tuning 2009-09-19 14:03:53 +00:00
Jörn Zaefferer
c59c0421ba datepicker: removing odd ticket test, has no assertions 2009-09-19 13:36:49 +00:00
Jörn Zaefferer
b19f2fe478 datepicker: renabling tests, with timeouts inbetween each test, hopefully avoids to kill testswarm clients with slow-script warnings 2009-09-19 13:36:34 +00:00
Richard Worth
5c87e2e448 dialog unit tests: options closeOnEscape, draggable 2009-09-19 10:16:08 +00:00
Richard Worth
79916907b5 dialog unit tests: methods close, moveToTop, open 2009-09-19 09:49:00 +00:00
Richard Worth
af178c00f1 dialog: fixed enable and disable methods 2009-09-19 09:35:53 +00:00
Jörn Zaefferer
6c222d286a uni tests: cleanup after common widget tests 2009-09-17 14:55:35 +00:00
Jörn Zaefferer
8acd12a059 unit tests: added positon to index 2009-09-17 14:55:22 +00:00
Richard Worth
e2d873e6f0 renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935 2009-09-17 10:39:12 +00:00
Jörn Zaefferer
79c433fcab removed ui.core.js from position testsuite - position may only depend on jQuery core 2009-09-16 14:24:36 +00:00
Jörn Zaefferer
6ebe744e86 datepicker tests keep crashing testswarm client, disabled tests until that issue is resolved 2009-09-15 21:40:15 +00:00
Jörn Zaefferer
9d5f8f18c6 datepicker tests keep crashing testswarm client, disabled tests until that issue is resolved 2009-09-15 21:38:50 +00:00
Jörn Zaefferer
0e8c90a3f5 accordion: trying to reset margin and padding for accordion-lis to get consistent results for fillSpace and autoHeight tests across platforms; if that works, may need to be applied in general, not just for tests 2009-09-15 21:27:32 +00:00
Jörn Zaefferer
e7927c3535 tests: declare global introduced in jQuery 1.3.2 Sizzle (fixed in trunk/1.3.3) 2009-09-15 21:20:51 +00:00
Jörn Zaefferer
5db2f6b7f7 accordion: reverted previous change to test 2009-09-15 21:19:23 +00:00
Jörn Zaefferer
06702d8b30 updated to latest QUnit 2009-09-15 21:12:05 +00:00
Ca-Phun Ung
f6b3e0c6e9 dialog: added unit test for ticket #4826 2009-09-15 16:14:15 +00:00
Jörn Zaefferer
93eea739fe simpler import statement 2009-09-15 15:59:10 +00:00
Jörn Zaefferer
ca6cdad3bd update to latest QUnit styles 2009-09-15 15:54:47 +00:00
Jörn Zaefferer
708e59502a 2009-09-15 15:54:16 +00:00
Jörn Zaefferer
b9f59aa4cf dialog: methods test cleanup 2009-09-15 15:42:41 +00:00
Jörn Zaefferer
1bd910e6d0 accordion: activate test fix, use false to close, not -1 2009-09-15 15:21:42 +00:00
Jörn Zaefferer
ee28074bb0 accordion: icon test fix, was failing in webkits 2009-09-15 15:09:41 +00:00
Ca-Phun Ung
bc63b0eed6 dialog: added visual test for ticket #4826 - Setting resizable false toggles resizable on dialog 2009-09-15 14:43:37 +00:00
Jörn Zaefferer
ba1f184deb tabs: comment about failing options-defaults-test 2009-09-15 08:39:47 +00:00
Jörn Zaefferer
d554658492 slider: fixed defaults test to include cancel-callback 2009-09-15 08:39:28 +00:00
Jörn Zaefferer
2972f5944d selectable test cleanup: border and margin helpers were never used, missing semicolons caused a parser error 2009-09-15 08:39:11 +00:00
Jörn Zaefferer
5a51c29a0e progessbar: comments about failing aria-disabled attr test (in IE), no idea why that happens 2009-09-15 08:38:37 +00:00
Jörn Zaefferer
c958e0c714 draggable: tests cleanup, put all elements into #main 2009-09-15 08:37:22 +00:00
Jörn Zaefferer
09fd7fc1fa core tests: a few comments about failing tests, a few fixes for existing tests, mostly messages; primary remaining issue is that both $("area").is(":visible") and $("area").is(":hidden") return true, which is most likely a bug in jQuery core 2009-09-15 08:35:46 +00:00
Jörn Zaefferer
b9b604936e accordion: remove deprecated alwaysOpen option (collapsible was introduced in last stable release); fixed collapsible-false accordion in combination with activate method (with fasly-argument to close all); changed activate-option default to 0 (which was the "computed" default anyway); lots of fixes for the testsuite, while removing some of the "missing" tests: header accepts only a selector (updated spec to make that more clear), while testing animations in unit tests is rather pointless 2009-09-15 08:33:28 +00:00
Jörn Zaefferer
a282bba6cd common widget tests: improve handling of functions (even same() can't compare two functions by their "content") 2009-09-15 08:26:59 +00:00
Jörn Zaefferer
526f6c565c slider tests: fixing variable scopes 2009-09-15 08:25:00 +00:00
Jörn Zaefferer
219c81a208 dialog: fixed dragStop test (was using dragStart instead of dragStop, copy&paste FTF) 2009-09-14 14:54:15 +00:00
Jörn Zaefferer
fde0b18eea progressbar: implemented missing tests 2009-09-11 18:47:34 +00:00
Jörn Zaefferer
40f75ee65c removed code that created testsuite markup; QUnit handles that 2009-09-11 18:31:15 +00:00
Jörn Zaefferer
4908a27b14 change script ordering to load testswarm agent after QUnit 2009-09-11 18:30:23 +00:00
Jörn Zaefferer
4dd740a5ac inject testswarm agent when the test is run by testswarm 2009-09-11 18:22:52 +00:00
Jörn Zaefferer
9c41eccb52 moving test.html file to child dir for testswarm compability 2009-09-01 08:26:53 +00:00
Jörn Zaefferer
6334a67b6a moving all*.html to tests/unit for testswarm compability 2009-09-01 08:25:29 +00:00
Jörn Zaefferer
9d075e1077 rename modules for testswarm compability 2009-09-01 08:16:10 +00:00
Jörn Zaefferer
7f54a1bad9 update to lastest QUnit 2009-08-30 10:46:20 +00:00
Scott González
bba67df747 Widget factory: Added support for deep extending multiple option hashes on init. 2009-08-28 00:39:43 +00:00
Scott González
6c6218fa12 Widget factory: Support passing multiple option hashes on init. Fixes #4784. 2009-08-26 02:06:19 +00:00
Richard Worth
1a6e100031 dialog unit tests: added position and stackfix 2009-08-12 08:20:57 +00:00
Richard Worth
57df5cd92e dialog visual tests: added position and stackfix 2009-08-12 08:18:51 +00:00
Jörn Zaefferer
417d5b29b4 accordion: Fix for #4695 2009-08-11 18:58:03 +00:00
Jörn Zaefferer
e132c1b363 accordion: fix for #4436 2009-08-11 18:46:00 +00:00
Richard Worth
5c5e0832d4 Accordion: added a couple failing tests for option active: init and collapsed 2009-08-11 00:57:50 +00:00
Richard Worth
7b506cf2ae Fixed accordion option active getter and setter. Normalized getter to number, 0-based index. 2009-08-11 00:45:01 +00:00
Richard Worth
57e3595115 Removed jquery.simulate from external/ as it's being removed from jqueryjs.googlecode.com/svn/trunk/plugins 2009-08-10 09:38:14 +00:00
Richard Worth
7c17d17406 slider option visual tests 2009-08-08 12:18:02 +00:00
Jörn Zaefferer
8ebef87f2e accordion: visual testcase and fix for #4444; probably fixes a few other issues, too, eg. less flickering 2009-08-06 18:57:44 +00:00
Jörn Zaefferer
425e76355a accordion: fix for #4754; related tests were failing before, fixed them, too (checked to correct sizes in Firebug) 2009-08-06 18:44:36 +00:00
Jörn Zaefferer
20e6ef30a7 accordion: visual testcase for #4322, improved the browser default stylings for a better comparsion 2009-08-06 18:34:51 +00:00
Jörn Zaefferer
a4f55498fb accordion: visual testcase for #4322 2009-08-06 18:19:40 +00:00
Scott González
5e89481ab8 Added zIndex method. Fixes #4709 - Add zIndex setter/getter method. 2009-08-05 13:30:55 +00:00
Richard Worth
44d3893daa visual test : Accordion option navigation true - added a note about needing to refresh the page after clicking a navigation link. 2009-08-05 12:25:12 +00:00
Richard Worth
c57c3dcc09 eol-style and mime-type 2009-08-05 12:17:35 +00:00
Richard Worth
b5c0326d2a Accordion visual test: option navigation true 2009-08-05 12:16:43 +00:00
Scott González
ec4d469a36 Draggable: Support hash, array, string for cursorAt option. Partial fix for #2525 - Standardised way to pass coordinates to plugins. 2009-08-03 13:13:13 +00:00
Scott González
d3bd7ae09f Dialog tests: Switch bgiframe to stackfix. 2009-07-27 23:53:58 +00:00
Scott González
eff793d014 Copied position plugin from /branches/dev/positionTo r2971. 2009-07-24 18:24:13 +00:00
Scott González
bfca009321 Datepicker in dialog compound demo: Initialize datepicker before dialog opens. 2009-07-24 12:53:04 +00:00
Keith Wood
ef4000d9df Datepicker: Fixed #3891 Autosize input field 2009-07-22 08:37:28 +00:00
Keith Wood
61e15b1f76 Datepicker: Fixed #4647 setDate cannot be called multiple times 2009-07-22 08:28:01 +00:00
Ca-Phun Ung
ec09afabb6 reverted r2948 - error is not in the test but in dialog itself. 2009-07-20 13:56:08 +00:00
Ca-Phun Ung
651a3a862d fixed error in datepicker dialog compound test 2009-07-20 13:22:20 +00:00
Scott González
4d51ffd364 Fixed titles of visual test pages. 2009-07-18 18:35:30 +00:00
Scott González
78b2304ec1 Started building compound visual tests (multiple plugins). Partial fix for #4651 - Create test pages for nested widgets. 2009-07-18 18:33:16 +00:00
Scott González
a716261ab6 Dialog: Changed beforeclose option to beforeClose. Fixes #4669 - Dialog: beforeclose option should be beforeClose. 2009-07-11 00:36:36 +00:00
Scott González
1a03453654 Widget factory: Force event types to be lowercase. Fixes #4668 - All event types should be lowercase even if the corresponding callback is camelcase. 2009-07-11 00:30:46 +00:00
Scott González
2ebc73e2b7 Dialog: Use _trigger for drag and resize events instead of executing callbacks directly. Fixed #4629 - Dialog events not being triggered. 2009-07-10 20:00:06 +00:00
Jörn Zaefferer
e1550390b1 accordion: fix for static markup 2009-07-09 15:02:05 +00:00
Scott González
292d9df1ce Draggable: Removed absolutePosition from ui hash. Fixes #3990 - Remove absolutePosition from ui hash. 2009-07-09 03:22:57 +00:00
Richard Worth
56b0da59d7 Fixed #4551 - Sortable connectWith fails if item is floated. Props dhlavety and jlillywhite. 2009-07-07 10:41:42 +00:00
Scott González
44ec979713 Widget factory: Convert falsy data values to an empty hash in _trigger. Fixes #4650: ui hash not always provided in events/callbacks. 2009-07-04 03:39:19 +00:00
Jörn Zaefferer
b6bdbb4211 accordion fix for #4653: added tests, adopted no-auto-height demo to also cover navigation option; fixed an unrelated bug, where ui-accordion-content-active was never removed 2009-07-03 21:05:22 +00:00