Commit Graph

810 Commits

Author SHA1 Message Date
JustinMacCarthy
05368115bb added empty test for containment by array option 2010-07-16 02:44:08 +08:00
Scott González
f24bc0fb1f Widget: Deep extend options when creating a new plugin. Fixes #5830 - Widget: Using inheritance overwrites the base classes options. 2010-07-15 10:27:21 -04:00
jzaefferer
56aecac811 Updated test for default position option: Reference using-implementation, as QUnit compares functions only by reference 2010-07-15 09:31:36 +02:00
Scott González
96e78a2cb7 Dialog: Updated test for default position option. QUnit still fails the test though. 2010-07-14 16:40:43 -04:00
Ben Hollis
6de9a5368c Dialog: allow setting position with ui.position arguments. Fixes #5459 - Dialog: expose .position() API 2010-07-14 16:29:28 -04:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
2c7a9e9ff3 Dialog: Verify that we get a string back from .attr( "title" ) before using the return value. Fixes #5742 - Form field with name="title" moved to title area. 2010-07-14 15:28:01 -04:00
Scott González
cdd6161419 Dialog: Add positioning for content div. Fixes #4319 - Accordion overflow breaks when displayed inside a dialog on Internet Explorer. 2010-07-14 13:47:06 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Richard D. Worth
5074bf38d3 Datepicker: Added visual test for #5676 - DatePicker Dialog defaultDate incorrect behaviour 2010-05-30 05:06:17 -04:00
Richard D. Worth
202ddd0c58 Button: Removed ui-button-text-icon class. Added ui-button-text-icon-primary and ui-button-text-icon-secondary classes. Fixed #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left 2010-05-26 15:08:37 -04:00
jzaefferer
e815e7c1e4 Visual test for #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left 2010-05-26 18:28:31 +02:00
Carl Fürstenberg
956f48adf8 Draggable, Resizable: ticket: #5335 - visual test
reduced test to the relevant parts, also fix things pointed out by
rdworth
2010-05-23 10:22:42 +08:00
Carl Fürstenberg
5d95633bed Draggable, Resizable: ticket: #5335 - visual test 2010-05-23 10:22:29 +08:00
jzaefferer
bf673476ee Fixed visual test for Autocomplete to include select event. Test for #5405 Autocomplete: select event not triggered when mousedown duration > blur timeout 2010-05-15 16:09:12 +02:00
dominiquevincent
4b36cce683 Tabs: unit test to verify that number of panels is equal to number of tabs.
Ticket #5069 - tabs: ui.tabs.add creates two tab panels when using a full URL

Signed-off-by: dominiquevincent <dominique.vincent@toitl.com>
2010-05-10 16:36:13 +08:00
carhartl
008def00bd added tests for disabled property 2010-05-05 19:16:39 +08:00
paulirish
37e8dd605d more inline widgets and variations added to theme test page 2010-05-01 18:05:04 +08:00
paulirish
57c5b07ef8 visual test page to demonstrate theme. adapted from the UI download build. 2010-04-29 02:14:57 +08:00
jzaefferer
3d692a0831 Slider unit tests: Disabled stale tests on Testswarm 2010-04-28 18:55:29 +02:00
carhartl
73adda4146 added tests for enable/disable 2010-04-20 03:00:34 +08:00
maggiewachs
970ed9a67a Merge branch 'master' of github.com:jquery/jquery-ui 2010-04-16 14:24:49 -04:00
maggiewachs
4ffe07457c Added left icons and CSS to indent menu option text. 2010-04-16 11:29:05 -04:00
jzaefferer
baa3678477 Unit tests: Disable stale widget tests on testswarm 2010-04-14 20:19:20 +02:00
jzaefferer
9e8e339648 Unit tests: Disable stale interaction tests only on testswarm, but allow them to run locally 2010-04-14 19:02:03 +02:00
jzaefferer
65c225533b Unit tests: Try to disable tests only for testswarm; if this works, I'll modify the other ones as well 2010-04-14 18:53:01 +02:00
jzaefferer
7adf7a9d0b Position unit tests: Add module for testswarm to run all tests 2010-04-14 09:17:11 +02:00
jzaefferer
c13462b5fd Progressbar unit test: Ignore false vs. false in IE6 AND 7 in aria attributes test 2010-04-13 13:25:09 +02:00
jzaefferer
3280e3356d Autocomplete unit tests: Fix event handling in IE 2010-04-13 12:04:05 +02:00
jzaefferer
59ef373ddc Progressbar unit test: Ignore false vs. false in IE6 in aria attributes test 2010-04-13 11:35:50 +02:00
jzaefferer
094ab5a5d9 Autocomplete and button unit tests: Same remove-role-attr fix as for accordion in destroy-method test 2010-04-13 11:12:01 +02: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
Richard D. Worth
3291d3951a sortable: don't call the base widget _setOption for disabled to avoid the ui-state-disabled class being added. Fixes #5501 - sortable: disabled should not have the ui-state-disabled class 2010-04-09 14:43:44 -04:00
jzaefferer
c01b3baef9 Autocomplete: Track input changes and fire change-event on blur, along with selected item, if available. Fix for #5490 2010-04-08 12:05:52 +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
Richard D. Worth
9ba45f3b76 tabs: core ajax unit test - more refactoring, seems IE7 needs a quick setTimeout for the first async test to work on first load 2010-04-02 12:43:22 -04:00
Richard D. Worth
178c3b5b6e tabs: core ajax unit test - run two loads as two separate asyncs so IE7 will run remaining tests 2010-04-02 11:59:17 -04:00
Richard D. Worth
5ffd3ab36a Align slider value to step. Fixes #5471 - value not aligned to step when set programatically 2010-04-01 15:00:45 -04:00
jzaefferer
ab1f806293 crlf mess, round XIIIMD 2010-04-01 10:00:13 +02:00
jzaefferer
eccb95a8cd Tuning disabled testsuites to run with ?draggable that TestSwarm adds 2010-04-01 09:49:13 +02:00
jzaefferer
00fdd8bcd9 Revert accidental "Merge branch 'tooltip' of github.com:jquery/jquery-ui"
This reverts commit df31e22b95, reversing
changes made to ab8d155217.

Need to revert this revert later on when actually merging the tooltip branch into master.
2010-04-01 09:33:25 +02:00
jzaefferer
df31e22b95 Merge branch 'tooltip' of github.com:jquery/jquery-ui 2010-04-01 09:25:21 +02:00
jzaefferer
ab8d155217 Disabling interaction testsuites until we get to their rewrites; required to get 100% passing on TestSwarm now 2010-04-01 09:24:39 +02:00
unknown
b173418cd3 Added tooltip to widgets_in_dialog compound test 2010-03-31 20:18:12 +02:00
jzaefferer
88b909b04e Autocomplete unit tests: Replace unreliable setTimeout with gobal ajax event handler 2010-03-31 16:39:16 +02:00
jzaefferer
cac005aca1 Adding a visual testpage for button for profiling 2010-03-29 16:47:37 +02:00
jzaefferer
a009595bd3 Merge branch 'master' into tooltip 2010-03-27 11:06:31 +01:00
jzaefferer
c49be0be1a Merge branch 'master' of github.com:jquery/jquery-ui 2010-03-27 10:57:33 +01: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
jzaefferer
11e719f8f8 Updating autocomplete and button unit tests: use equal instead of ok to compare markup, works fine in latest QUnit (escapes all messages correctly) 2010-03-27 08:00:03 +01:00
jzaefferer
b012de18a4 Accordion unit tests: Further normalization of styles to get consistent results across browsers 2010-03-27 07:42:43 +01:00
jzaefferer
ccf85fd3b9 Slider: Removing the placeholder for the animate-option, as we generally don't try to unit-test any animations 2010-03-27 02:01:56 +01:00
jzaefferer
d969e66164 Slider: Test for test-option, setting the value with the value-method; either test is wrong or the implementation ignores the step-option when set programmatically 2010-03-27 02:00:59 +01:00
jzaefferer
3eee15fca8 Slider tests: Split three different change-event tests into three tests, adding start, slide and stop assertions to each, removing placeholders for those other events 2010-03-27 01:44:14 +01:00
jzaefferer
885fea1f3d Drilldown menu: First attempt at drilldown animations 2010-03-26 20:13:50 -04:00
jzaefferer
e49af16c5a Menu prototypes: Renamed newer ones to old names 2010-03-26 20:00:54 -04:00
jzaefferer
cd32b3fc5a Menu prototypes: Remove early nested and drilldown prototypes, to be replaced with nested2/drilldown2 2010-03-26 19:59:17 -04:00
Scott González
9541bd0bf2 Position: Use parseInt() to prevent fractional pixel values.
Fixes #5280 - ui.position generates different position in static context.
2010-03-26 19:53:43 -04:00
jzaefferer
f1933142e4 Merge branch 'master' into tooltip 2010-03-26 12:45:32 -04:00
jzaefferer
e8f397bc14 Added compound test for Tabs with Tooltips 2010-03-25 18:23:11 -04:00
jzaefferer
87533753f4 Tooltip: Add Button to visual test page to test interoperability 2010-03-25 18:06:16 -04:00
jzaefferer
9786a19c82 Core unit tests: Include testsuite.js for the testswarm include 2010-03-25 16:40:43 -04:00
jzaefferer
e285e43d2b Tooltip: Replacing mouseover/out with mouseenter/leave, dropping (for now) support for event delegation 2010-03-25 14:46:42 -04:00
jzaefferer
0752719de1 Drilldown menu: Fixing type-to-search, missing event argument to menu-activate method 2010-03-25 11:27:08 -04:00
jzaefferer
37774bb516 Menu: new prototype for drilldown menu with keyboard handling 2010-03-24 23:32:37 -04:00
jzaefferer
27c5debb59 Improved drilldown keyboard handling 2010-03-24 18:01:43 -04:00
jzaefferer
b90438d90e Implemented menu/nested2 visual test, implementation doesn't rip DOM apart, way simpler then original approach 2010-03-24 17:53:48 -04:00
jzaefferer
b7ad981e69 Fixing styles for menu to work properly in IEs, even with nested menus (updated the nested-menu protoype nested2.html with themeroller) - kills the hover-border in IE6, but we have to live with that 2010-03-24 17:01:30 -04:00
jzaefferer
467b6f9bb6 Update testswarm url for new server 2010-03-23 20:23:15 +01:00
jzaefferer
7443cb8e40 Menu: Testing nested menus without the DOM restructuring, just need to fix display issue in IE6 2010-03-23 05:10:54 +01:00
jzaefferer
e7c2eb42d0 Remove width:100%; from menu-item styles (was there for icon-support, which was dropped); also fixed the nested-menu visual test to position properly in IE6 2010-03-22 21:44:32 +01:00
jzaefferer
339543636f Tooltip: Added another element for testing the issue with mouseover/out 2010-03-21 22:45:36 +01:00
jzaefferer
7dbf7ecfc1 Copying files from old Googlecode dev branch for tooltip 2010-03-21 22:28:32 +01:00
jzaefferer
f5a14de1b1 Cleaning up visual tests
Fixes #5395 - Visual Tests Cleanup
2010-03-21 21:07:25 +01:00
jzaefferer
304a45c159 Position Visual Test: Corrected page title - Testcase for #5284 Position: Smarter collision detection 2010-03-21 19:52:18 +01:00
jzaefferer
ff6c15b83e Position: Adding visual testcase for #5284 - Position: Smarter collision detection 2010-03-21 19:48:30 +01:00
jzaefferer
d4ad2cb837 line-endings 2010-03-20 21:51:53 +01:00
jzaefferer
8f680fb347 Widgets in Dialog compound visual test: Added more widgets and linked Slider with Progressbar 2010-03-20 21:51:12 +01:00
jzaefferer
f4fd024cde Compound visual dialog tests: Add some content to the page for better testing 2010-03-20 21:21:02 +01:00
jzaefferer
3d5adba51a Added visual menu tests from (old) dev-branch and fixed nested-menu 2010-03-20 21:04:04 +01:00
Jörn Zaefferer
e4f8f54607 added new compound test, still incomplete 2010-03-20 14:39:20 +00:00
Jörn Zaefferer
e6516ad3e6 Added mouse, position, draggable and resizable dependencies 2010-03-20 14:39:05 +00:00
Jörn Zaefferer
253e94555b Added some margin to body to avoid horizontal scrollbar 2010-03-20 14:38:50 +00:00
Jörn Zaefferer
627fa1b522 Removed jQuery (not used); Added links to all.html, effects.all.html and compound tests 2010-03-20 14:38:34 +00:00
Jörn Zaefferer
2206bbf10c Added Button and Autocomplete 2010-03-20 14:38:24 +00:00
Jörn Zaefferer
d7b1044d6c debug comment 2010-03-20 14:38:12 +00:00
Jörn Zaefferer
edcd6823e2 Fixed broken encoding of Préc 2010-03-20 14:37:55 +00:00
Jörn Zaefferer
c98e8e666b core focus-test, call start() after running assertions 2010-03-20 14:37:36 +00:00
Jörn Zaefferer
d7e33373ad replaced pearl with perl 2010-03-20 14:37:18 +00:00
Jörn Zaefferer
63ed4dccce normalize margin/padding on test markup to get reliable height results 2010-03-20 14:32:06 +00:00
Jörn Zaefferer
234c6cbfea global introduced by jQuery 1.3.x is gone, don't need the noglobals fix anymore 2010-03-20 14:31:23 +00:00
Richard Worth
2725bf3e2f sortable ticket #5355 visual test case - minor cleanup, added eol-style property 2010-03-17 23:37:02 +00:00
Richard Worth
0604e11052 Slider: fixed change event to be triggered by keyup and value and values option setters. Fixes #5367 - slider change event not triggered by keypress 2010-03-17 17:39:29 +00:00
Richard Worth
e84a318e46 Slider unit tests: slider event change 2010-03-17 15:58:22 +00:00
Richard Worth
8b885b3d52 Slider unit tests: slider event change 2010-03-17 15:31:17 +00:00
Richard Worth
5c5f9ad695 whitespace 2010-03-17 15:04:14 +00:00
Richard Worth
c6e48e85ab slider unit tests: corrected some hasClass calls 2010-03-17 15:02:18 +00:00
Richard Worth
92fe5e9225 Fixed #5362 - Buttonset class should be ui-buttonset because buttonset is one word 2010-03-17 13:16:40 +00:00
Jörn Zaefferer
b69ba4d9b4 Partial visual test for #5355 2010-03-16 15:44:02 +00:00
Richard Worth
a0ac772745 Dialog visual test - corrected page title, added heading 2010-03-15 13:42:05 +00:00
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