jquery-ui/tests/unit/draggable
Ben Higgins 0bb807bb42 Draggable: fix changing containment
If containment was set such that relative_container is set by
_setContainment, and then containment changes to e.g. "document",
"window", or an array, relative_container would not be unset, causing
incorrect containment of the draggable.

Add a unittest to check that containment with an array works after
previously being set to "parent".

Fixes #9733
Closes gh-1176
2014-01-20 13:08:12 -05:00
..
all.html Updating jQuery to 1.10.2. 2013-07-05 08:42:37 -04:00
draggable_common.js Draggable Tests: Add test coverage for supported options 2013-03-04 01:05:11 -05:00
draggable_core.js Slider & Interactions: Add Windows 8 touch support 2014-01-15 15:38:10 -05:00
draggable_events.js Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations. 2013-03-19 16:53:35 +01:00
draggable_methods.js Draggable Tests: Test both position and offset of draggable element in all applicable tests. 2013-10-21 11:20:03 -04:00
draggable_options.js Draggable: fix changing containment 2014-01-20 13:08:12 -05:00
draggable_test_helpers.js Draggable Tests: don't test auto scroll while testing helpers. 2013-10-31 21:41:45 -04:00
draggable.html Draggable: normalize lookups for rootNodes when to bust scroll cache. Fixes #9379 - Draggable: position bug in scrollable div 2013-12-03 10:08:12 -05:00