Mike Sherov
9ca0a19a00
Draggable Tests: Fix lint error.
2013-10-20 15:34:59 -04:00
Mike Sherov
b8795e15d6
Draggable Tests: Add position asserts to drag tests
...
They're currently disabled however due to bugs both
in the tests and in the actual widget.
2013-10-20 15:31:47 -04:00
Mike Sherov
c9b0e28d8d
Draggable Tests: consolidate drag tests and provide error messages for all assertions.
2013-10-20 09:35:12 -04:00
Mike Sherov
0144b270c8
Draggable Tests: clarify scroll helpers.
2013-10-20 08:37:34 -04:00
Mike Sherov
82edd58743
Draggable Tests: make sure offset tests are actually testing offsets
2013-10-19 18:53:00 -04:00
Mike Sherov
67fd40eda7
Tests: extract TestHelpers.forceScrollableWindow for tests that need the window to scroll
2013-10-19 18:48:04 -04:00
Mike Sherov
263d078944
Draggable: Ignore scroll offsets for abspos draggables. Fixes #9315 - Draggable: jumps down with offset of scrollbar
2013-08-12 19:32:01 -04:00
Bruno M. Custódio
0d5eaab9bb
Updating jQuery to 1.10.2.
...
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.
2013-07-05 08:42:37 -04:00
Steven Luscher
fcd1cafac8
Draggable: active element blurs when clicking on a draggable. Fixes #4261 - Draggable: Inputs do not blur when clicking on a draggable
2013-06-19 18:07:38 -04:00
Steven Luscher
bca3e058e8
Clicking on a draggable anchor without moving it should make it the active element ( Fixes #8399 ).
2013-06-19 08:38:57 -04:00
Brian Grinstead
24756a978a
Draggable: enabled draggable from within iframe. Fixed #5727 - draggable: cannot drag element inside iframe
2013-05-20 22:10:04 -04:00
Mike Sherov
7c939aadf8
Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test cases for old Opera and old Safari.
2013-04-14 12:58:42 -04:00
Mike Sherov
d345a0d7db
Draggable: allow draggable to defer destroying itself upon DOM removal until after stop is fired. Fixes #6889 - Draggable: Cursor doesn't revert to pre-dragging state after revert action when original element is removed.
2013-04-12 14:45:48 -04:00
Scott González
d7ea0e5e51
Draggable tests: Wrap IIFE in parens.
2013-04-08 14:45:09 -04:00
Mike Sherov
58d9130ba3
Draggable Tests: style guide conformance for TestHelpers
2013-04-07 12:31:21 -04:00
Mike Sherov
d4d9e14161
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.
2013-04-07 12:17:19 -04:00
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
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
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
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
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
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
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
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
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
Bruno M. Custódio
b440979ba6
Updating 'jQuery' to 1.9.1.
2013-02-05 13:47:59 +00:00
Kris Borchers
34409e7ddd
Updating to jQuery 1.9.0
2013-01-17 00:28:41 -06:00
Mike Sherov
f667d090a7
Interactions: Update widget defaults to match documented API.
2013-01-02 18:27:22 -05:00
Mike Sherov
18b8ffd796
Draggable Tests: Cover all cursorAt option formats.
2013-01-01 23:16:12 -05:00
Mike Sherov
1045d3a352
Draggable Tests: Fix IE7 offset failures
2012-12-27 10:39:14 -05: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
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
mathias.stenbom
cf9fbce139
Draggable: made handles work with complex markup. Fixes #8757 - Draggable: Resizable handle with inner element does not work, when its also draggable
2012-11-19 09:06:50 -05:00
Scott González
fb6119e182
Upgrade jQuery to 1.8.3.
2012-11-14 15:22:01 -05:00
Mike Sherov
543abc9b1f
Dev: clean up dialog test suite with new helper methods. Fixes #8803 - Dev: re-enable the dialog test suite
2012-11-09 15:02:26 -05:00
Scott González
f5870712c1
Updated all widgets to use proper data keys when getting plugin instances.
2012-11-09 13:28:13 -05:00
Mike Sherov
068d597166
Dev: fix IE fails in draggable and selectable - Fixed #8770 Dev: Remove globals and Standardize Test Suite
2012-11-04 09:31:56 -05:00
Mike Sherov
3df9ea29e6
Dev: remove globals from tests and moved test helpers to correct location - Fixed #8770 Dev: Remove globals and Standardize Test Suite
2012-11-03 16:17:16 -04:00
Mike Sherov
d771048a56
Dev: Fix test failures in oldIE. Fixed #8748 - Dev: Get draggable test suite to pass
2012-10-31 10:02:01 -04:00
Mike Sherov
f0daa220d6
Dev: Standardized the draggable test suite. Fixed #8748 - Dev: Get draggable test suite to pass
2012-10-30 22:13:43 -04:00
Scott González
d68ef5e4e1
Tests: Removed old code that kept bad test suites out of TestSwarm.
2012-10-26 13:47:34 -04:00
Mike Sherov
e1230997aa
Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
...
Squashed commit of the following:
commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 10:34:28 2012 -0400
put back in fake args for signatures that we want to keep
commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 08:10:20 2012 -0400
changes per @scott_gonzalez
commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:54:05 2012 -0400
clean up unused vars in ui directory
commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:37:42 2012 -0400
clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Scott González
a638acb583
Upgrade jQuery to 1.8.2.
2012-09-20 21:41:47 -04:00
Scott González
1e6b2b2298
Upgrade jQuery to 1.8.0.
2012-08-13 09:19:09 -04:00
Scott González
51863d5a71
Don't use :input selector.
2012-05-21 14:49:49 -04:00
Yi, EungJun
b2a51a589a
Draggable tests: Fixed typo.
2012-05-15 13:15:31 -04:00
Scott González
b042f8ebd6
Tests: Moved loadResources to TestHelpers.
2012-04-23 10:43:01 -04:00
Scott González
7a5a77da50
Tests: Rename {widget}_defaults.js -> {widget}_common.js
2012-04-23 10:15:17 -04:00
Jörn Zaefferer
ce3c7fab93
Update to official qunit composite addon
2012-04-21 17:49:11 +02:00
Scott González
e9d5079b04
Tests: Move commonWidgetTests() to TestHelpers.
2012-04-19 13:03:21 -04:00
Scott González
0a5a9090f8
Tests: Lint.
2012-04-19 10:28:26 -04:00
Scott González
89ff5c5232
Upgrade jQuery to 1.7.2.
2012-03-22 09:45:22 -04:00
Jörn Zaefferer
72023dd045
Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal.
2012-02-29 18:36:40 +01:00
Scott González
54fb1441fe
Upgrade jQuery to 1.7.1.
2011-11-22 08:43:09 -05:00
Scott González
50dab05784
Upgrade jQuery to 1.7.
2011-11-09 10:18:33 -05:00
Scott González
dcac8c1f29
Tests: Added ability to run tests against minified files via ?min=1
2011-10-28 15:58:33 -04:00
Scott González
efe964d86e
Upgraded jQuery to 1.6.4.
2011-10-18 09:38:27 -04:00
Scott González
4adb9026ea
Tests: Cleanup.
2011-08-03 17:12:44 -04:00
Scott González
bea74f2ae7
Tests: Added test suites to run individual widget tests against all supported jQuery versions.
2011-08-02 20:41:50 -04:00
Scott González
d92b61e865
Tests: Added ability to run tests suites against different versions of jQuery core.
2011-07-28 07:34:31 -04:00
Scott González
daadc343be
Upgrade jQuery to 1.6.2.
2011-07-25 11:46:45 -04:00
Scott González
d236c0d6e1
Draggable: Removed empty tickets test file.
2011-03-28 12:41:29 -04:00
Richard Worth
593799d6e3
Switched to latest stable jQuery 1.5.1
2011-03-02 20:49:20 -05:00
jzaefferer
c37637ee99
Use #qunit-fixture instead of deprecated #main. Fixes #7031 - Tests use
2011-02-23 12:46:13 +01:00
jzaefferer
a1ebed70e3
Unit tests: Add QUnit toolbar for hiding passed tests
2011-02-21 20:39:35 +01:00
Scott González
fce1f97f76
Upgraded jQuery to 1.4.4.
2010-11-12 09:19:26 -05:00
Scott González
19f9c3a559
Upgraded jQuery to 1.4.3.
2010-10-21 22:29:28 -04:00
jzaefferer
d8bee228b3
Seperated testswarm injection from testsuite extensions, to fix 'failing' testsuites on TestSwarm due to unhandled errors and race conditions
2010-08-29 17:21:39 +02:00
JustinMacCarthy
05368115bb
added empty test for containment by array option
2010-07-16 02:44:08 +08:00
jzaefferer
65c225533b
Unit tests: Try to disable tests only for testswarm; if this works, I'll modify the other ones as well
2010-04-14 18:53:01 +02:00
jzaefferer
eccb95a8cd
Tuning disabled testsuites to run with ?draggable that TestSwarm adds
2010-04-01 09:49:13 +02:00
jzaefferer
ab8d155217
Disabling interaction testsuites until we get to their rewrites; required to get 100% passing on TestSwarm now
2010-04-01 09:24:39 +02:00
Richard Worth
bfc180b1ba
html pages: added HTML5 meta charset UTF-8 tag, changed DOCTYPE to uppercase
2010-03-12 03:18:34 +00:00
Richard Worth
9483dcdbe6
Externals: updated QUnit to http://github.com/jquery/qunit commit 67ba5a338d836014c24345dc218ab3c9bb63b06e
...
The various updates to the unit test suites introduced 0 regressions due to update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test suite did introduce one regression, to the dialog option height tests.
Also removed some old crufty woefully incomplete unused and rotted test harnesses.
2010-02-25 11:09:39 +00:00
Richard Worth
0798b10717
Fixed #5182 - Update to jQuery 1.4.2
2010-02-16 02:39:57 +00:00
Paul Bakaus
9617d15054
draggable: implemented #4145 - start,drag and stop events should be preventable
2010-01-28 16:35:59 +00:00
Richard Worth
79bd955054
switched to jQuery 1.4.1
2010-01-27 12:29:43 +00:00
Richard Worth
a1e069759d
switched to jQuery 1.4
2010-01-20 13:52:38 +00:00
Scott González
06e29401b8
Split mouse into its own file and udpdated dependency lists.
...
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Jörn Zaefferer
b6d17b24d4
extracting widget factory into jquery.ui.widget.js
2009-12-16 22:20:18 +00:00
Scott González
b3a095d3ef
Removed use of .data() for getting/setting options in tests; using each plugin's option method instead. Fixes #4853 - Remove use of .data() for options in tests.
2009-11-09 01:50:23 +00:00
Jörn Zaefferer
751d7c521b
update to latest QUnit
2009-09-29 07:48:14 +00:00
Richard Worth
e2d873e6f0
renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935
2009-09-17 10:39:12 +00:00