Scott González [Tue, 9 Jul 2013 18:13:24 +0000 (14:13 -0400)]
Core tests: Explicitly focus the body during delayed .focus() test to avoid an issue in IE 8.
(cherry picked from commit afeaf565bb0b91c399603a0ddd82a925cabef6aa)
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.
(cherry picked from commit 0d5eaab9bbfd60daa7ad69aea74aa24ef0243a6c)
TJ VanToll [Fri, 21 Jun 2013 00:40:00 +0000 (20:40 -0400)]
Menu: Ensure an event was passed before checking its type. Fixes #9384 - Menu: _focus function forgets null check with doing a pattern match on event.type
(cherry picked from commit 670f650b99103bcea779f8ad0428e05cb7e37053)
TJ VanToll [Thu, 13 Jun 2013 20:47:07 +0000 (13:47 -0700)]
Menu: Reset ui-menu-icons class in refresh. Fixes #9377: Menu: Refreshing should recheck for menu icons
(cherry picked from commit 91b7b9f9ab2e5baa31e37f34600457599409e161)
Scott González [Mon, 3 Jun 2013 19:14:08 +0000 (15:14 -0400)]
Slider: Remove range div when changing range option to false. Fixes #9355 - Slider: Changing range option to false does not remove range div.
(cherry picked from commit 2ba75e2c93638d89e89de52347da0013a7a841b8)
Jörn Zaefferer [Fri, 31 May 2013 08:35:44 +0000 (10:35 +0200)]
Datepicker: Replicate fr-locale changes to the demo copy. Adjust unit tests to match the new lowercase names. Fixes #9289 - Datepicker: Incorrect capitalisation for French and Spanish
(cherry picked from commit aaf75767fa98a6acdf00b1414bee622d3a3747cc)
Steven Luscher [Fri, 10 May 2013 21:03:44 +0000 (14:03 -0700)]
Droppable: Defer querying of offsetWidth and offsetHeight until they're required. Fixes #9339 - Droppable: offsetWidth and offsetHeight are queried unnecessarily causing synchronous reflow.
(cherry picked from commit a4fc7a9e9664d44d65b971c90a0cad82e1e79344)
Resizable: Fixed sign error on offset calculation. Fixes #9307 - Resizable: Erratic behavior of contained elements within scrollable grandparents
(cherry picked from commit 6df5c1a4ae738e591694e0fe2fa3bbb8b05f6b0a)
Scott González [Tue, 28 May 2013 15:04:29 +0000 (11:04 -0400)]
Autocomplete: Scope race condition handling to the instance. Fixes #9334 - Autocomplete: Multiple instances should be able to start asynchronous requests simultaneously.
(cherry picked from commit 9e00e00f3b54770faa0291d6ee6fc1dcbad028cb)
TJ VanToll [Thu, 23 May 2013 01:43:40 +0000 (21:43 -0400)]
Dialog: Add type="button" to the close button. Fixed #9312: Dialog: closes on enter in textbox in IE.
(cherry picked from commit c19e7b3496d14b40e71ba892213889fc8cc81d4f)
Scott González [Mon, 20 May 2013 15:30:49 +0000 (11:30 -0400)]
Widget: Properly set widgetEventPrefix when redefining a widget. Fixes #9316 - Widget: widgetEventPrefix is empty when widget is (occasionally) loaded twice.
(cherry picked from commit 2eb89f07341a557084fa3363fe22afe62530654d)
Scott González [Thu, 16 May 2013 16:14:05 +0000 (12:14 -0400)]
Datepicker i18n: Updated Spanish and French locales. Fixes #9289 - Datepicker: Incorrect capitalisation for French and Spanish.
(cherry picked from commit 9726cd72b64e9e9735cfdb5564ebef64a6dab0aa)
Scott González [Thu, 16 May 2013 12:34:04 +0000 (08:34 -0400)]
Position: Use absolute positioning when getting scrollbar width to avoid reflows of user content. Fixes #9291 - Position - $.position.scrollbarWidth detection causes layout issues.
(cherry picked from commit d500e945a46c9e2ce5bbb685661c32b5d3f57d21)
Scott González [Thu, 25 Apr 2013 14:59:20 +0000 (10:59 -0400)]
Autocomplete: Refactored _response() so that requestIndex is defined closer to where it's used.
(cherry picked from commit 947d738c0b9403da527b31ad2af3b6b9150383bd)
Mike Sherov [Sun, 14 Apr 2013 21:07:24 +0000 (17:07 -0400)]
Datepicker Tests: fix failing oldIE tests by creating new inputs to focus when necessary for focus tests.(cherry picked from commit b75e4f7d27eff1c5a40fe101cb34a0f806efaede)
Mike Sherov [Sun, 14 Apr 2013 16:58:42 +0000 (12:58 -0400)]
Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test cases for old Opera and old Safari.(cherry picked from commit 7c939aadf8c661f1230627d51bf1450f99effcc3)
Build: Change the homepage and demo URLs to the main effects page. Fixes #9247 - Build: Incorrect links in effect manifests
(cherry picked from commit 45f85cce5634e2321e701e905297b578987d3083)
Jason Moon [Wed, 20 Mar 2013 22:42:34 +0000 (17:42 -0500)]
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 f5f08791536e689e008b04d6ea9677811353d456)
Menu: Add a transparent list-style-image to menu items. Fixed #8844 - Menu: IE 10 renders bullets in submenus
(cherry picked from commit 64a39d9b0d5710729653b185eae427853608744b)
Mike Sherov [Fri, 12 Apr 2013 00:48:05 +0000 (20:48 -0400)]
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 530d1b7c8c86fbe328c6df439ad9afef779fa435)
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 2de31fdbf498a6c20d196a96d007ea0f069644c5)
Mike Sherov [Sun, 7 Apr 2013 18:40:26 +0000 (14:40 -0400)]
Datepicker Tests: fix IE7 test failures by ensuring the datepicker is hidden before showing it.(cherry picked from commit 2f7a4c669d1e39079bc34b61fdf5713f02d2b739)
Mike Sherov [Sun, 7 Apr 2013 18:16:31 +0000 (14:16 -0400)]
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 1c1b64fcf017471970c3903a2bc89cc7d108aaa3)
Mike Sherov [Sun, 7 Apr 2013 16:17:19 +0000 (12:17 -0400)]
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 d4d9e14161d0f2cd64a441e4703c801b35fbc158)
Mike Sherov [Sun, 7 Apr 2013 16:10:59 +0000 (12:10 -0400)]
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 3c1a3ca252a24f63ab7f4ac819cc7744eaf57c77)
Scott González [Wed, 3 Apr 2013 20:12:50 +0000 (16:12 -0400)]
Datepicker: Remove unnecessary global variable now that we don't use inline event handlers anymore.
(cherry picked from commit cb42ba6fd6307a8425a1af89329869fcc613cefe)
Scott González [Wed, 3 Apr 2013 20:06:15 +0000 (16:06 -0400)]
Datepicker: Fixed date format for Serbian locales. Fixes #7347 - Datepicker: Wrong date format for Serbian localization.
(cherry picked from commit 504b100a1a9213186968c654dd915b92bb9ee15b)
Mike Sherov [Wed, 3 Apr 2013 16:26:39 +0000 (12:26 -0400)]
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 49c7b7200ef944ffc93487e79e763dfe97b4ff4a)
Mike Sherov [Tue, 2 Apr 2013 13:08:17 +0000 (09:08 -0400)]
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 a88d64514001867b908776e6bfcfac7f1011970d)
Mike Sherov [Sun, 31 Mar 2013 16:32:33 +0000 (12:32 -0400)]
Autocomplete Tests: Fix oldIE test failures by accounting for casing differences in .html() return values.(cherry picked from commit 70717273a8aaddda27918e3497ab72ae20357867)
Mike Sherov [Sun, 31 Mar 2013 16:19:43 +0000 (12:19 -0400)]
Draggable Tests: Fix IE8 test failures by accounting for the IE8 testswarm IFRAME positioning bug.(cherry picked from commit 204a0423be63e0032f72b2ba1830a9b8dcebb9ee)
Mike Sherov [Sun, 31 Mar 2013 15:55:24 +0000 (11:55 -0400)]
Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs.(cherry picked from commit 384f1812542127e10ea55ba56412a19e5f2b7dda)
Mike Sherov [Tue, 26 Mar 2013 13:18:58 +0000 (09:18 -0400)]
Draggable Tests: Minor style fixes and removing unnecessary setup and teardown for core tests.
(cherry picked from commit 38f93c4ac19d85649e08f666086c1234ff7360f3)
Mike Sherov [Tue, 26 Mar 2013 13:18:00 +0000 (09:18 -0400)]
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 e9faec96ed0152a4943efa838b9025d63e3e3093)
Mike Sherov [Sat, 23 Mar 2013 02:12:52 +0000 (04:12 +0200)]
Draggable: Handle containment set to false after init, and style improvements. Fixes #8962 - Containment doesn't properly update
(cherry picked from commit dc5254aa0703f9f7fd9d290c3078a5e9267160d9)
Jason Moon [Thu, 21 Mar 2013 14:56:39 +0000 (09:56 -0500)]
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 f306a826a4d3b4c36c3f86cb5feeee23bb0db4c3)
Scott González [Thu, 21 Mar 2013 19:54:50 +0000 (15:54 -0400)]
Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace.
(cherry picked from commit ff11b69a67e0176c851ff3bdec997c7a75d47a42)