Commit Graph

2008 Commits

Author SHA1 Message Date
Mike Sherov
3c1a3ca252 Draggable Tests: fix old Safari and old Opera tests with jQuery < 1.8 tests by accounting for a bug in $.contains on disconnected Elements. 2013-04-07 12:10:59 -04:00
Mike Sherov
6a3bf605ba Draggable Tests: fix copypasta'd assertion messages. 2013-04-06 22:59:56 -04:00
Mike Sherov
49c7b7200e Draggable: Don't cache parent offset if the parent position is fixed. Fixes #5009 - Draggable: scroll not working with parent's position fixed 2013-04-03 12:26:39 -04:00
Mike Sherov
a88d645140 Draggable: Stop erroneously overriding scroll offsets for root nodes. Fixes #6258 - Draggable: not following mouse when scrolled and using overflow-y: scroll. 2013-04-02 19:51:36 -04:00
Felix Nagel
73c7342bc4 Merge branch 'master' into selectmenu 2013-04-02 19:42:19 +02:00
Scott González
09b3533910 Sortable: Copy the cell structure when sorting a table row. Fixes #9185 - Sortable: Placeholder breaks table-layout: fixed. 2013-04-02 10:42:21 -04:00
Mike Sherov
5217b975f3 Spinner Tests: Fix IE test failures by removing timing dependencies from focus/blur tests. 2013-04-01 08:59:52 -04:00
Mike Sherov
efe8da8e6e Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur. 2013-03-31 12:55:57 -04:00
Mike Sherov
70717273a8 Autocomplete Tests: Fix oldIE test failures by accounting for casing differences in .html() return values. 2013-03-31 12:32:33 -04:00
Mike Sherov
e12879a441 Position Tests: Fix FF and IE10 test failures by accounting for subpixel offsets. 2013-03-31 12:28:40 -04:00
Mike Sherov
204a0423be Draggable Tests: Fix IE8 test failures by accounting for the IE8 testswarm IFRAME positioning bug. 2013-03-31 12:19:43 -04:00
Mike Sherov
bbb53df27d Sortable Tests: Fix IE7 Test fails by being more generous with dragging near borders. 2013-03-31 12:07:01 -04:00
Mike Sherov
384f181254 Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs. 2013-03-31 11:55:24 -04:00
Mike Sherov
875139ef8f Selectable Tests: Fix test failures in IE7 by accounting simulated events properly. 2013-03-31 11:49:54 -04:00
Scott González
5a8596cdf3 Accordion: Maintain collapsed state on refresh. Fixes #9189 - Accordion: refresh() method incorrectly opens collapsed accordion. 2013-03-27 15:23:59 -04:00
Scott González
2c43548ac6 Tests: Handle globals in .jshintrc. 2013-03-27 09:40:53 -04:00
Scott González
a9e1755cb9 Build: Use globals instead of predef for JSHint. 2013-03-26 14:44:32 -04:00
Scott González
a4fabd2bb4 Whitespace. 2013-03-26 14:43:35 -04:00
Mike Sherov
38f93c4ac1 Draggable Tests: Minor style fixes and removing unnecessary setup and teardown for core tests. 2013-03-26 09:22:35 -04:00
Mike Sherov
e9faec96ed Draggable Tests: Test that removing an element on drop doesn't cause a draggable error. Fixes #9159 - Draggable Tests: Write test case for #8269 2013-03-26 09:21:53 -04:00
Mike Sherov
dc5254aa07 Draggable: Handle containment set to false after init, and style improvements. Fixes #8962 - Containment doesn't properly update 2013-03-23 16:48:19 -04:00
Jason Moon
f306a826a4 Sortable: update placeholder when axis is x or y for connected lists. Fixed #8301 - Placeholder doesn't move when using connectWith option 2013-03-23 15:42:38 -04:00
Scott González
ff11b69a67 Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace. 2013-03-21 15:54:50 -04:00
Felix Nagel
1ce8d87f8b Merge branch 'master' into selectmenu 2013-03-19 19:59:31 +01:00
Jörn Zaefferer
1c1f7c6184 Widget: Remove copy-pasta leftovers 2013-03-19 17:53:09 +01:00
Jörn Zaefferer
90135b27f8 Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations. 2013-03-19 16:53:35 +01:00
Corey Frang
4fce29e935 Widgets: Updating to use instance method on bridge 2013-03-19 16:08:00 +01:00
Corey Frang
36cb6f264d Widget: Implement instance method on the bridge to return widget instance - Fixes #9030 - instance method in widget prototype 2013-03-19 16:07:59 +01:00
Mike Sherov
9d8af804ad Draggable: make sure snap elements are in the document before snapping. Fixes #8459 - Draggable: element can snap to an element that was removed during drag. 2013-03-16 14:36:06 -04:00
Zbigniew Motyka
bd126a9c1c Draggable: modified snapping algorithm to use edges and corners. Fixed #8165 - Draggable: Snapping doesn't take top/left into account properly 2013-03-16 11:51:51 -04:00
Woody Gilk
82f588e82b Draggable: Fix double offset bug when scrolling. Fixes #6817 - Draggable: auto scroll goes double distance when dragging 2013-03-15 18:52:56 -04:00
Scott González
932caaf2dd Core: Deprecated .zIndex(). Fixes #9061 - Core: Deprecate .zIndex(). 2013-03-15 07:01:24 -04:00
Scott González
43442c3196 Accordion: Remove deprecated content property in create event. Fixes #8999 - Accordion: Remove content property from create event. 2013-03-15 06:45:38 -04:00
Scott González
0cc40d799f Dialog: Removed deprecated position handling. Fixes #8825 - Dialog: Remove array and string notations for position option. 2013-03-15 06:41:06 -04:00
Mike Sherov
4484c52a4d Sortable Tests: Add tests for axis option and recent axis option bugs. 2013-03-14 22:56:48 -04:00
Scott González
44d07173db Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable: disabled should not have ui-state-disabled

This reverts commit 23771d38ba.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
This reverts commit 4d67f4f349.
2013-03-14 15:07:06 -04:00
Mike Sherov
4d67f4f349 Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable : disabled should not have ui-state-disabled
2013-03-11 22:08:21 -04:00
Scott González
57051e8a73 Draggable tests: Don't use .on(). 2013-03-09 08:12:47 -05:00
Felix Nagel
2f7bd63dcf Selectmenu tests: remove aria-selected tests 2013-03-09 13:30:35 +01:00
Mike Sherov
8b1b34c5c3 Sortable Tests: Add tests to support #9041 and #8792 2013-03-08 16:52:49 -05:00
Scott González
cdff72efed Draggable: Account for descendants in handle. 2013-03-08 10:08:58 -05:00
TJ VanToll
6358695df1 Draggable: Fix border containment. Fixed #5569 - Draggable: Containment incorrectly calculates padding and border 2013-03-07 21:42:28 -05:00
Felix Nagel
a7ea386498 Selectmenu tests: improve widget method tests 2013-03-08 00:03:21 +01:00
Felix Nagel
0bf91a41c6 Merge branch 'master' into selectmenu 2013-03-07 23:56:48 +01:00
Felix Nagel
6acc6bdd7f Selectmenu tests: adjust tests due to removed button wrapper element 2013-03-07 23:53:43 +01:00
Felix Nagel
8fc08a18ec Selectmenu tests: adjust test to change from button to span element 2013-03-07 23:41:08 +01:00
Felix Nagel
890881d2f8 Selectmenu tests: switch from a to button element 2013-03-07 19:15:46 +01:00
Scott González
5b2da7c127 Sortable tests: Added alt attributes to images. 2013-03-07 13:15:16 -05:00
Scott González
b9be6bb7ad Sortable: Copy the src of the original item when creating a placeholder from an image. Fixes #5129 - Sortable: Unable to use an image as a placeholder in Firefox. 2013-03-07 12:55:00 -05:00
Mike Sherov
ca0b4b8a6c Draggable Tests: Fix containment tests 2013-03-04 11:39:14 -05:00
Mike Sherov
5a04d237dd Draggable Tests: Fix snap test failures in IE8 2013-03-04 09:58:23 -05:00
Mike Sherov
dd16205a3f Draggable Tests: Style Sweep 2013-03-04 01:32:23 -05:00
Mike Sherov
c278a4461b Draggable Tests: Add test coverage for supported options 2013-03-04 01:05:11 -05:00
Felix Nagel
dffe8f6610 Merge branch 'master' into selectmenu 2013-03-03 13:48:01 +01:00
Scott González
6d3a1e1fe8 Slider tests: Use ui-slider not uiSlider for data key. 2013-03-02 15:31:38 -05:00
Scott González
271aa1d94e Slider tests: Don't use .on(). 2013-03-02 15:26:18 -05:00
Jörn Zaefferer
d94e217065 Selectmenu: Fix whitespace (trailing ws on 1 line) and lint issues (unused variables) 2013-03-01 17:18:03 +01:00
Scott González
6f29577436 Effects: Handle the .hide/show/toggle( options ) signatures from core properly. Fixes #9126 - .show()/.hide() do not support all of core's options. 2013-02-28 13:34:49 -05:00
Scott González
948563b8b5 Effects: Delegate to core show/hide when the element is already in the correct final state. This forces the element to go through the olddisplay tracking and forces styles on elements even if they're hidden via an ancestor. Fixes #9120 - Effects: .hide() inconsistent with core with a hidden parent. 2013-02-26 10:36:03 -05:00
Scott González
d0ad572349 Droppable tests: Cleanup. 2013-02-26 10:13:42 -05:00
Zaven Muradyan
1c80735acb Droppable: Changed drop event to loop over a copied array instead of the droppables directly. Fixed #9116 - Droppable: Drop event can cause droppables to remain active if any droppable is created/destroyed in the event handler. 2013-02-26 09:56:18 -05:00
Scott González
2348fb8eb9 Spinner: Call _stop() on blur. Fixes #9112 - Spinner keeps changing after losing focus. 2013-02-22 09:15:43 -05:00
Scott González
bd47bd4ace Sortable: When sorting table rows, create a td to force dimensions. Fixes #4765 - Sortable: Placeholder not displayed when sorting table rows. 2013-02-20 20:16:29 -05:00
Felix Nagel
d599bf9ffd Selectmenu tests: CGL, trim triling spaces 2013-02-14 00:04:14 +01:00
Felix Nagel
f4342715a7 Selectmenu tests: remove console statements 2013-02-13 23:32:20 +01:00
Felix Nagel
75cfcf2235 Selectmenu tests: wrong selected item when using keyboard control on button and focusing menu item before 2013-02-13 22:18:12 +01:00
Felix Nagel
fdf3af681d Selectmenu tests: check for too much fired focus events 2013-02-13 22:06:30 +01:00
TJ VanToll
a5469750ae Merge branch 'draggable_fix_9077' 2013-02-12 21:28:23 -05:00
David Petersen
c958b211db Position: Handle decimal percentage offsets. Fixes #9076: percentage offset does not support decimal 2013-02-12 07:05:19 -06:00
TJ VanToll
c32bebd1bd Draggable: Account for z-index set in CSS for the stack option. Fixed #9077 - Draggable: stack option resets the z-index 2013-02-11 23:29:48 -05:00
Felix Nagel
78f9362882 Selectmenu: Updating jQuery to 1.9.1. 2013-02-09 03:31:43 +01:00
Felix Nagel
a7b4f29cea Merge branch 'master' into selectmenu 2013-02-09 03:29:10 +01:00
Felix Nagel
b81bb0b983 Selectmenu tests: add unit test to make sure button text is changed when refreshing selectmenu 2013-02-09 03:26:53 +01:00
Felix Nagel
110cab160e Selectmenu tests: remove toggle event as its removed 2013-02-09 03:25:47 +01:00
David Petersen
ab408c9b82 Slider: Coding standards for tests 2013-02-07 09:19:15 -06:00
David Petersen
df077abfc2 Slider: allow range option to be changed. Fixed #5602 - Slider Does Not Exhibit Proper Behavior When Switching Range 2013-02-05 08:31:42 -06:00
Bruno M. Custódio
b440979ba6 Updating 'jQuery' to 1.9.1. 2013-02-05 13:47:59 +00:00
David Petersen
a129a93a4d Slider: Add disabled tests and remove disabled prop from handles 2013-02-04 14:43:56 -06:00
Scott González
8724092e50 Dialog: Don't use ._on() for modal event handlers. Fixes #9048 - Dialog: broken focusin event handler when beforeclose event of a modal opens another modal. 2013-02-02 19:32:42 -05:00
Scott González
df179542cc Datepicker: Escape single quotes in tooltips. Fixes #9049 - Datepicker beforeShowDay tooltip not displayed properly if single quote is used. 2013-02-01 16:52:04 -05:00
Jörn Zaefferer
dddf2a7ca1 Dialog: Add effect files to deprecated testsuite to sync with non-deprecated file 2013-02-01 19:17:32 +01:00
Scott González
7bbda71a32 Dialog: Check for empty array in addition to empty object when checking if there are buttons. Fixes #9043 - Dialog: Buttonpane shown with no buttons when modifying native prototypes. 2013-02-01 08:59:55 -05:00
Scott González
62cda1f95d Dialog: Set the _isOpen flag immediately in open(). Fixes #8958 - Dialog: Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog. 2013-01-31 17:20:19 -05:00
Scott González
d36d116d36 Upgrade QUnit to 1.11.0. Fixes #8969 - Global test failure in Opera 12.12. 2013-01-31 10:19:48 -05:00
Kris Borchers
2a8494fc81 Dialog Tests: Cleanup el -> element 2013-01-30 23:44:25 -06:00
Kris Borchers
e886e4a9c1 Dialog Tests: Add test to ensure dialog keeps focus when clicking a modal overlay 2013-01-30 23:44:03 -06:00
Kris Borchers
d1505e3434 Dialog: Move call to _focusTabbable and triggering of open and focus events into the _show callback. Fixes #6756 - Dialog: show: "blind" with link in content doesn't animate properly. Fixes #8051 - Dialog: 'Explode' dialog animation causes crash in IE 6, 7 and 8. Fixes #4421 - Dialog: Focus lost from dialog which uses show-effect 2013-01-30 12:30:37 -06:00
Felix Nagel
91dde04dad Merge branch 'master' into selectmenu 2013-01-30 18:10:39 +01:00
David Petersen
2ca4d17982 Effects Core: make removeClass work correctly with changes jQuery 1.9.0. Fixed #9015 - Inclusion of jQuery UI breaks removeClass 2013-01-29 07:47:54 -06:00
David Sullivan
55360eeb7e Dialog: modified _createOverlay to _appendTo instead of document.body. Fixed #8984 - Modal dialogs display behind overlay when using appendTo option 2013-01-26 11:34:51 -05:00
David Petersen
649f105229 Dialog: Don't handle overlays on destory if there are not any. Fixed: #9004 - failed in _destroyOverlay when I destroy a modal dialog thau was never opened. Fixed: #9000 Dialog leaves broken event handler after close/destroy in certain cases 2013-01-24 13:43:02 -06:00
David Petersen
f7f165c9f8 Merge pull request #891 from petersendidit/datepicker_8994
Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 -...
2013-01-23 11:50:00 -08:00
David Petersen
8f7c3e309c Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 - Datepicker: next and prev buttons are disabled when using yearRange 2013-01-23 13:41:01 -06:00
Scott González
10c873ab6c Accordion: Add panel in addition to content for create event. Fixes #8998 - Accordion: Create event uses content instead of panel. 2013-01-22 09:19:04 -05:00
Felix Nagel
de149c47d7 Selectmenu: Updating to jQuery 1.9.0 2013-01-18 19:28:13 +01:00
Felix Nagel
f5e65b0819 Merge branch 'master' into selectmenu 2013-01-18 19:25:30 +01:00
Kris Borchers
34409e7ddd Updating to jQuery 1.9.0 2013-01-17 00:28:41 -06:00
Scott González
1f65b3bca9 Whitespace. 2013-01-16 13:45:54 -05:00
Felix Nagel
dcb28a7c71 Merge branch 'master' into selectmenu 2013-01-10 19:13:54 +01:00