aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable
Commit message (Collapse)AuthorAgeFilesLines
...
* Draggable: Account for margins when snappingMike Sherov2014-08-141-0/+4
| | | | Fixes #9724
* Draggable Tests: Fix IE8 test when native scroll happensMike Sherov2014-08-131-3/+22
|
* Draggable: ignore overflow:hidden containers with scroll optionMike Sherov2014-08-121-0/+14
| | | | | | While it is true that overflow:hidden elements can be scrolled programatically, this breaks user expectation. Therefore, do not scroll inside an overflow:hidden container.
* Draggable: consider offsets from overflow:hidden parentsMike Sherov2014-08-122-31/+37
| | | | | | | | Developers can programmatically set scrollTop/Left on draggable containers that are overflow:hidden. They must be considered for positioning. Fixes #10147
* Draggable Tests: Fix several whitespace issues.Mike Sherov2014-08-122-3/+2
|
* Draggable Tests: Fix inconsistent operator spacing.Mike Sherov2014-08-061-4/+4
|
* Tests: Fix composite testsScott González2014-08-011-1/+1
|
* Draggable: Manage ui-draggable-handle correctly in nested instancesTJ VanToll2014-07-151-0/+13
|
* Draggable: Only apply ui-draggable-handle within the draggable instanceTJ VanToll2014-07-151-2/+6
| | | | | Fixes #10212 Closes gh-1284
* Build: Reorganize external directoryScott González2014-06-242-4/+4
| | | | | | | Put each external library into its own directory. Move jquery.js to external. Ref gh-1266
* All: Rename jquery.js to exclude version in filenameJörn Zaefferer2014-03-051-1/+1
|
* Tests: Update to sane QUnit markupJörn Zaefferer2014-02-202-10/+2
|
* Draggable Tests: fix IE scroll tests affected by focus issues.Mike Sherov2014-02-181-5/+12
| | | | | Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior, we must calculate scrollTop on the drag event, before .focus is called.
* Draggable Tests: fix IE offset tests affected by focus issues.Mike Sherov2014-02-181-1/+1
| | | | | | Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior, we must rely on the actual calculated offset instead of the helper offset to ensure cross browser test consistency.
* Draggable: fix current JSCS violations.Mike Sherov2014-02-182-28/+38
|
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-241-7/+7
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Draggable: fix changing containmentBen Higgins2014-01-201-2/+7
| | | | | | | | | | | | | 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
* Tests: Fix draggable_options expected test count to be dynamicBrian J. Dowling2014-01-161-1/+2
| | | | | | | | The test count was previously incremented to 8 when normally 6 tests are run. After figuring out the dynamic test code, I just made the expect depend on the same array length Also re-enabled the test in the Gruntfile since it now passes.
* Slider & Interactions: Add Windows 8 touch supportTJ VanToll2014-01-151-0/+14
| | | | | | Fixes #9709 Fixes #9710 Closes gh-1152
* Draggable: Test fix regarding static scrollingDave Stein2013-12-151-1/+2
| | | | | | | No longer checking scroll positions of static scrolls since the fixture is in an absolute container. Closes gh-1145
* Draggable Unit Tests: Ensure IFRAMEs can be written toMike Sherov2013-12-141-5/+9
| | | | Draggable tests were failing in IE because the frame needs to be written to to be accessible to further DOM manipulation.
* Draggable: normalize lookups for rootNodes when to bust scroll cache. Fixes ↵Mike Sherov2013-12-033-4/+49
| | | | | #9379 - Draggable: position bug in scrollable div Core: update scrollParent() to support all current supported browsers.
* Draggable Tests: don't test auto scroll while testing helpers.Mike Sherov2013-10-312-12/+7
|
* Draggable Tests: Ensure all combinations of helper / draggable positions / ↵Mike Sherov2013-10-291-274/+49
| | | | scrollParents / parent positions are tested accurately.
* Draggable Tests: Ensure Draggable tests are correctly testing offset under ↵Mike Sherov2013-10-233-116/+108
| | | | scroll conditions.
* Draggable Tests: Test both position and offset of draggable element in all ↵Mike Sherov2013-10-214-61/+73
| | | | applicable tests.
* Draggable: apply axis options to position instead of style. Fixes #7251 - ↵Mike Sherov2013-10-201-4/+18
| | | | Draggable: constrained axis option returns incorrect position.
* Draggable Tests: Fix lint error.Mike Sherov2013-10-201-2/+2
|
* Draggable Tests: Add position asserts to drag testsMike Sherov2013-10-204-60/+74
| | | | They're currently disabled however due to bugs both in the tests and in the actual widget.
* Draggable Tests: consolidate drag tests and provide error messages for all ↵Mike Sherov2013-10-203-65/+64
| | | | assertions.
* Draggable Tests: clarify scroll helpers.Mike Sherov2013-10-202-66/+58
|
* Draggable Tests: make sure offset tests are actually testing offsetsMike Sherov2013-10-193-12/+14
|
* Tests: extract TestHelpers.forceScrollableWindow for tests that need the ↵Mike Sherov2013-10-191-15/+7
| | | | window to scroll
* Draggable: Ignore scroll offsets for abspos draggables. Fixes #9315 - ↵Mike Sherov2013-08-121-0/+25
| | | | Draggable: jumps down with offset of scrollbar
* Updating jQuery to 1.10.2.Bruno M. Custódio2013-07-051-1/+1
| | | | | Adding jQuery 1.10.0, 1.10.1, 1.10.2, 2.0.0, 2.0.1, 2.0.2 and 2.0.3 to the tests directory.
* Draggable: active element blurs when clicking on a draggable. Fixes #4261 - ↵Steven Luscher2013-06-191-0/+16
| | | | Draggable: Inputs do not blur when clicking on a draggable
* Clicking on a draggable anchor without moving it should make it the active ↵Steven Luscher2013-06-191-0/+14
| | | | element (Fixes #8399).
* Draggable: enabled draggable from within iframe. Fixed #5727 - draggable: ↵Brian Grinstead2013-05-201-0/+16
| | | | cannot drag element inside iframe
* Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test ↵Mike Sherov2013-04-142-4/+10
| | | | cases for old Opera and old Safari.
* Draggable: allow draggable to defer destroying itself upon DOM removal until ↵Mike Sherov2013-04-122-2/+33
| | | | after stop is fired. Fixes #6889 - Draggable: Cursor doesn't revert to pre-dragging state after revert action when original element is removed.
* Draggable tests: Wrap IIFE in parens.Scott González2013-04-081-2/+2
|
* Draggable Tests: style guide conformance for TestHelpersMike Sherov2013-04-071-30/+26
|
* Draggable Tests: fix more old Safari and old Opera tests with jQuery < 1.8 ↵Mike Sherov2013-04-071-5/+10
| | | | tests by accounting for a bug in $.contains on disconnected Elements.
* Draggable Tests: fix old Safari and old Opera tests with jQuery < 1.8 tests ↵Mike Sherov2013-04-072-3/+14
| | | | by accounting for a bug in $.contains on disconnected Elements.
* Draggable Tests: fix copypasta'd assertion messages.Mike Sherov2013-04-061-2/+2
|
* Draggable: Don't cache parent offset if the parent position is fixed. Fixes ↵Mike Sherov2013-04-031-0/+30
| | | | #5009 - Draggable: scroll not working with parent's position fixed
* Draggable: Stop erroneously overriding scroll offsets for root nodes. Fixes ↵Mike Sherov2013-04-021-0/+35
| | | | #6258 - Draggable: not following mouse when scrolled and using overflow-y: scroll.
* Draggable Tests: Fix IE8 test failures by accounting for the IE8 testswarm ↵Mike Sherov2013-03-311-5/+10
| | | | IFRAME positioning bug.
* Draggable Tests: Minor style fixes and removing unnecessary setup and ↵Mike Sherov2013-03-262-18/+7
| | | | teardown for core tests.
* Draggable Tests: Test that removing an element on drop doesn't cause a ↵Mike Sherov2013-03-261-0/+20
| | | | draggable error. Fixes #9159 - Draggable Tests: Write test case for #8269