Commit Graph

1163 Commits

Author SHA1 Message Date
Mike Sherov
06d830f1a4 Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test cases for old Opera and old Safari.(cherry picked from commit 7c939aadf8)
Conflicts:

	tests/unit/draggable/draggable_options.js
2013-11-25 17:23:41 -05:00
Scott González
6e48da0490 Button: Remove ui-state-focus class when becoming disabled. Fixes #9169 - Button: Disabled button maintains ui-state-focus in IE & Firefox on Windows.
(cherry picked from commit 0d0b05ec7c)

Conflicts:

	ui/jquery.ui.button.js
2013-11-25 16:53:28 -05:00
Jason Moon
c1f7f527af Autocomplete: Don't prevent keypress for multiline. Fixed #8911 - Autocomplete: Unable to use up/down arrow keys in a textarea (Firefox).
(cherry picked from commit f5f0879153)
2013-04-25 13:18:11 -04:00
Mike Sherov
693bab1010 Datepicker Tests: ensure Focus tests work all the way back to jQuery 1.6 in all browsers without having to rely on timeouts.(cherry picked from commit 530d1b7c8c) 2013-04-17 15:33:47 -04:00
TJ VanToll
1152e65917 Button: On form reset only call refresh on current button widgets. Fixed #9213: Button: timeout in formResetHandler causing refresh to be called on non-widgets
(cherry picked from commit 2de31fdbf4)
2013-04-17 15:29:12 -04:00
Scott González
ef26587194 Draggable tests: Wrap IIFE in parens.
(cherry picked from commit d7ea0e5e51)
2013-04-17 15:25:12 -04:00
Mike Sherov
c9d84e531e Datepicker Tests: use simulated events for focus and blur.(cherry picked from commit ab84e037ed) 2013-04-17 15:24:48 -04:00
Mike Sherov
0bea0d6d02 Datepicker Tests: fix IE7 test failures by ensuring the datepicker is hidden before showing it.(cherry picked from commit 2f7a4c669d) 2013-04-17 15:24:42 -04:00
Mike Sherov
2879b3ac25 Datepicker Tests: Fix IE tests by accounting for async nature of focus/blur and by correctly not double focusing a programmatically focused date picker.
A partial fix was implemented to resolve #6694, and this commit completes the fix so we can programmatically focus a date picker without focus being fired twice.(cherry picked from commit 1c1b64fcf0)
2013-04-17 15:24:32 -04:00
Mike Sherov
5bcf0bf50b Draggable Tests: style guide conformance for TestHelpers(cherry picked from commit 58d9130ba3) 2013-04-17 15:24:27 -04:00
Mike Sherov
0c02740fa7 Draggable Tests: fix more old Safari and old Opera tests with jQuery < 1.8 tests by accounting for a bug in $.contains on disconnected Elements.(cherry picked from commit d4d9e14161) 2013-04-17 15:24:21 -04:00
Mike Sherov
17ce0a5cb0 Draggable Tests: fix old Safari and old Opera tests with jQuery < 1.8 tests by accounting for a bug in $.contains on disconnected Elements.(cherry picked from commit 3c1a3ca252) 2013-04-17 15:24:13 -04:00
Mike Sherov
2258e02e76 Draggable Tests: fix copypasta'd assertion messages.(cherry picked from commit 6a3bf605ba) 2013-04-17 15:24:09 -04:00
Mike Sherov
c1011b5b9d Draggable: Don't cache parent offset if the parent position is fixed. Fixes #5009 - Draggable: scroll not working with parent's position fixed(cherry picked from commit 49c7b7200e) 2013-04-17 15:09:26 -04:00
Mike Sherov
48b48a8865 Draggable: Stop erroneously overriding scroll offsets for root nodes. Fixes #6258 - Draggable: not following mouse when scrolled and using overflow-y: scroll.
(cherry picked from commit a88d645140)
2013-04-17 15:09:20 -04:00
Scott González
9711c54c6d Sortable: Copy the cell structure when sorting a table row. Fixes #9185 - Sortable: Placeholder breaks table-layout: fixed.
(cherry picked from commit 09b3533910)
2013-04-17 15:09:06 -04:00
Mike Sherov
83e0b4c6c8 Spinner Tests: Fix IE test failures by removing timing dependencies from focus/blur tests.(cherry picked from commit 5217b975f3) 2013-04-17 15:07:29 -04:00
Mike Sherov
17472ace8c Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur.(cherry picked from commit efe8da8e6e) 2013-04-17 15:07:24 -04:00
Mike Sherov
771664153e Autocomplete Tests: Fix oldIE test failures by accounting for casing differences in .html() return values.(cherry picked from commit 70717273a8) 2013-04-17 15:07:19 -04:00
Mike Sherov
d9391c7590 Position Tests: Fix FF and IE10 test failures by accounting for subpixel offsets.(cherry picked from commit e12879a441) 2013-04-17 15:07:13 -04:00
Mike Sherov
3f29430f8a Draggable Tests: Fix IE8 test failures by accounting for the IE8 testswarm IFRAME positioning bug.(cherry picked from commit 204a0423be) 2013-04-17 15:07:08 -04:00
Mike Sherov
90e9732032 Sortable Tests: Fix IE7 Test fails by being more generous with dragging near borders.(cherry picked from commit bbb53df27d) 2013-04-17 15:07:03 -04:00
Mike Sherov
ff2fe5bc94 Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs.(cherry picked from commit 384f181254) 2013-04-17 15:06:58 -04:00
Mike Sherov
59da723acd Selectable Tests: Fix test failures in IE7 by accounting simulated events properly.(cherry picked from commit 875139ef8f) 2013-04-17 15:06:53 -04:00
Scott González
a93ad182c8 Accordion: Maintain collapsed state on refresh. Fixes #9189 - Accordion: refresh() method incorrectly opens collapsed accordion.
(cherry picked from commit 5a8596cdf3)
2013-04-17 14:57:09 -04:00
Scott González
f9097a6d86 Tests: Handle globals in .jshintrc.
(cherry picked from commit 2c43548ac6)
2013-04-17 14:56:45 -04:00
Scott González
024843c4b1 Whitespace.
(cherry picked from commit a4fabd2bb4)
2013-04-17 14:53:52 -04:00
Mike Sherov
ee4cd548e4 Draggable Tests: Minor style fixes and removing unnecessary setup and teardown for core tests.
(cherry picked from commit 38f93c4ac1)
2013-04-17 14:53:17 -04:00
Mike Sherov
59028995d0 Draggable Tests: Test that removing an element on drop doesn't cause a draggable error. Fixes #9159 - Draggable Tests: Write test case for #8269
(cherry picked from commit e9faec96ed)
2013-04-17 14:52:20 -04:00
Mike Sherov
507043c3a2 Draggable: Handle containment set to false after init, and style improvements. Fixes #8962 - Containment doesn't properly update
(cherry picked from commit dc5254aa07)
2013-04-17 14:51:03 -04:00
Jason Moon
9ac505b9fa Sortable: update placeholder when axis is x or y for connected lists. Fixed #8301 - Placeholder doesn't move when using connectWith option
(cherry picked from commit f306a826a4)
2013-04-17 14:50:11 -04:00
Scott González
2da014b11d Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace.
(cherry picked from commit ff11b69a67)
2013-04-17 11:55:51 -04:00
Mike Sherov
ecabe47544 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.(cherry picked from commit 9d8af804ad) 2013-04-17 11:47:56 -04:00
Zbigniew Motyka
f74a908056 Draggable: modified snapping algorithm to use edges and corners. Fixed #8165 - Draggable: Snapping doesn't take top/left into account properly(cherry picked from commit bd126a9c1c) 2013-04-17 11:46:10 -04:00
Woody Gilk
943537cb78 Draggable: Fix double offset bug when scrolling. Fixes #6817 - Draggable: auto scroll goes double distance when dragging
(cherry picked from commit 82f588e82b)
2013-04-17 11:38:29 -04:00
Mike Sherov
e677ae8012 Sortable Tests: Add tests for axis option and recent axis option bugs.(cherry picked from commit 4484c52a4d) 2013-04-17 11:31:25 -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
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
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
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