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
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
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
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
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
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
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
Scott González
48a790a327
Core: Resume focus test based on the event, not the callback.
2013-01-08 07:54:11 -05:00
Mike Sherov
f667d090a7
Interactions: Update widget defaults to match documented API.
2013-01-02 18:27:22 -05:00
Mike Sherov
cf7dc089e0
Tests: Correct all 404 errors in the test suite
2013-01-02 18:03:03 -05:00
Mike Sherov
ff47763924
Datepicker Tests: Prepare for widget-ization tests.
2013-01-02 17:37:26 -05:00
Mike Sherov
b477098da5
Slider: add options for event callbacks
2013-01-02 14:58:12 -05:00
Mike Sherov
18b8ffd796
Draggable Tests: Cover all cursorAt option formats.
2013-01-01 23:16:12 -05:00
TJ VanToll
695358983e
Selectable: Account for scrolling on the helper's initial position. Fixed #8915 - Selectable: Lasso offset issue with scrolling.
2013-01-01 08:22:18 -05:00
TJ VanToll
2620be85e9
Selectable tests: Removed a non-existent script tag causing a 404 in the tests.
2013-01-01 08:19:20 -05:00
Jörn Zaefferer
37fda49e3c
Accordion: Fix testsuite overflow issue in IE7.
2012-12-28 10:41:05 +01:00
Jörn Zaefferer
2c3d311f90
Menu: Allow changing icons option after creation. Fixes #8927 - Menu: Can't change icons option after init
2012-12-27 17:23:25 +01:00
Jörn Zaefferer
0d53fbfd0b
Spinner: Trigger start/spin/stop events when calling step/page methods. Fixes #8901 - Spinner does not fire start/spin/stop events when calling stepUp()/Down(), pageUp()/Down() methods
2012-12-27 17:06:01 +01:00
Mike Sherov
1045d3a352
Draggable Tests: Fix IE7 offset failures
2012-12-27 10:39:14 -05:00
Jörn Zaefferer
04d668b717
Spinner: Update button icons when option changes. Fixes #8926 - Spinner: Can't change icons option after init
2012-12-27 12:50:04 +01:00
Mike Sherov
0d4022bceb
Tests: Convert single quotes to double quotes.
2012-12-26 08:08:48 -05:00
Mike Sherov
ecb7b6ec12
Draggable Tests: add back in unreliable offset hack for cursorAt tests
2012-12-22 17:39:36 -05:00
Mike Sherov
46925b8808
Draggable Tests: use jquery.simulate.js to simulate drag events
2012-12-22 16:30:27 -05:00
Mike Sherov
6d88d264be
Dialog Tests: Fix test fails due to window measurements in FF and IE7
2012-12-22 15:46:57 -05:00
Mike Sherov
48d7d53f7b
Dev: stop loading *_tickets.js in the test suite.
2012-12-22 12:56:19 -05:00
Dominic Barnes
209443d716
Slider: Create clone of options.values during _create(). Fixed #8892 - Multiple Sliders have Conflict with options.values.
2012-12-18 11:48:10 -05:00
Scott González
8ec7a1b69f
All: Use .addBack() instead of .andSelf().
2012-12-14 11:13:50 -05:00
Scott González
80e46c93a8
Autocomplete: Append to closest .ui-front if available.
2012-12-14 09:10:32 -05:00
Scott González
f5aaf874e9
Progressbar: Moved .ui-progressbar-indeterminate to main element. Added tests for markup structure.
2012-12-12 11:21:49 -05:00
Mike Sherov
a677ea7dc0
Dev: update jquery.simulate.js to latest version from http://github.com/jquery/jquery-simulate
2012-12-12 03:59:11 -05:00
Mike Sherov
fec36fd214
Dev: remove todos from datepicker and dialog testsuite
2012-12-12 03:16:33 -05:00
Scott González
b9f206dbcf
Dialog: Cleanup.
2012-12-11 16:23:18 -05:00
Scott González
28fcef5e9e
Datepicker tests: Handle async focus in IE.
2012-12-11 10:06:13 -05:00
Scott González
694987f2f7
Menu tests: Better handling of async focus in IE.
2012-12-11 09:44:39 -05:00
Scott González
020abcf8a9
Spinner tests: Delay all the things to make IE happy. Maybe...
2012-12-10 15:54:06 -05:00
Scott González
245a82d5aa
Dialog tests: More async focus handling to deal with IE8.
2012-12-10 15:31:56 -05:00
Scott González
d5f06c319a
Spinner tests: Better handling of async focus in IE.
2012-12-10 10:35:28 -05:00
Scott González
fbc7956b9f
Button tests: Handle async focus in IE.
2012-12-10 10:35:01 -05:00
Scott González
2841541362
Core tests: Handle async focus in IE.
2012-12-10 10:34:44 -05:00
Scott González
0f0ec001aa
Dialog tests: Updated markup for deprecated tests to match standard tests.
2012-12-10 08:53:13 -05:00
Mike Sherov
9f76446775
Dev: remove unnecessary simulated drag delegation in test suite
2012-12-08 21:27:37 -05:00
Mike Sherov
5dee8dee30
Dev: Change incorrect references in test suite from #main to #qunit-fixture.
2012-12-08 13:19:36 -05:00
Mike Sherov
e83a89dd7d
Dev: Remove *_tickets.js test files and move the associated tests to the proper locations.
2012-12-07 20:06:29 -05:00
Scott González
d4551bc3b8
Dialog: Respect maxHeight when determining size on open. Fixes #4820 - Dialog: Auto height does not respect the maxHeight option.
2012-12-07 16:57:03 -05:00
Scott González
70b16ef445
Dialog: Added appendTo option. Fixes #7948 - Dialog: Allow dialog to be attached to a element other than body.
2012-12-07 14:54:21 -05:00
Scott González
da17a232ca
Autocomplete: Handle detached elements for appendTo after create.
2012-12-07 11:58:58 -05:00
Scott González
20a29dfd61
Datepicker: Run JSHint test in unit tests.
2012-12-06 11:56:56 -05:00
Scott González
f7614706ab
Progressbar: Cleanup, byte shaving.
2012-12-06 10:10:07 -05:00
Scott González
9d0df53624
Progress tests: Cleanup.
2012-12-06 09:50:33 -05:00
Scott González
f1be88e795
Progressbar: Only remove aria-valuenow for indeterminate progressbars. Added more accessibility tests.
2012-12-06 09:35:41 -05:00
Scott González
8c763cdf98
Progressbar: Define defaults for callbacks.
2012-12-06 09:21:25 -05:00
Scott González
f59f5a8b12
Dialog: Restore inline styles for dimensions/display. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-05 11:53:34 -05:00
Scott González
598cdae199
Datepicker: Handle changes to the disabled option. Fixes #8883 - Datepicker: Changing disabled option doesn't work.
2012-12-05 10:38:31 -05:00
Scott González
3c2acc3227
Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-04 10:03:05 -05:00
Scott González
050e71bdd8
Revert "Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers."
...
This reverts commit d687a1b10d
.
2012-12-04 09:21:33 -05:00
Jörn Zaefferer
1e8baf5683
Dialog: Remove the instance-storing for the overlay, just create one whenever it is needed. Heavily simplifies the code, while the memorly leak should be hardly an issue anymore, since fixed positioning restricts the overlay size to the window dimensions. Fixes #6058 - Dialog overlays are not properly reused when multiple instances of a Dialog exist.
2012-12-04 01:08:34 +01:00
Jörn Zaefferer
d687a1b10d
Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers.
2012-12-04 00:35:47 +01:00
Scott González
8b15aaf496
Widget: Don't modify the prototype passed to $.widget(). Fixes #8876 - Calling _super calls wrong inherited widget.
2012-12-03 14:18:24 -05:00
Scott González
7312933c88
Widget tests: Fixed order of actual and expected.
2012-12-03 13:57:28 -05:00
Scott González
5ba267e7c7
Resizable: Respect containment for alsoResize option. Fixes #4603 - Resizable: alsoResize option doesn't work with containment. Fixes #5559 - Dialog: Content grows bigger than widget on resize at document edge.
2012-12-03 10:36:55 -05:00
Jörn Zaefferer
13505e5945
Dialog: Ensure all animations finish and clean up themselve when destroying dialog. Fixes #5860 - Dialog: Destroying a dialog during animated close leaves .ui-effects-wrapper in DOM.
2012-11-30 13:08:56 +01:00
Scott González
948f874266
Button tests: Work around a quirk in Opera.
2012-11-29 09:19:05 -05:00