Commit Graph

1456 Commits

Author SHA1 Message Date
Jyoti Deka
20f064662a Resizable: containment plugin restricts resizing within container
Fixes #7018
Fixes #9107
Closes gh-1122
2013-12-15 12:57:29 -05:00
Jyoti Deka
c03cb8079c Resizable: containment now works with non - immediate children
Fixes #7485
Closes gh-1130
2013-12-15 12:29:55 -05:00
Dave Stein
38c6cf1382 Draggable: Test fix regarding static scrolling
No longer checking scroll positions of static scrolls since the fixture is
in an absolute container.

Closes gh-1145
2013-12-15 09:38:46 -05:00
Mike Sherov
f4839f73a7 Draggable Unit Tests: Ensure IFRAMEs can be written to
Draggable tests were failing in IE because the frame needs to be
written to to be accessible to further DOM manipulation.
2013-12-14 17:38:33 -05:00
Jyoti Deka
ec5f395260 Resizable: modified to allow resizing when resizables are nested.
Fixes #5025
Closes gh-1149
2013-12-14 16:08:44 -05:00
Felix Nagel
1656cd2f34 Selectmenu Tests: add unit and visual tests for width option 2013-12-07 19:10:50 +01:00
Jörn Zaefferer
fe7c300374 Menu: Remove click binding that was supposed to prevent default on anchor clicks on a disabled menu. Not relevant anymore since we removed the anchors. Partial fix for #8802 - Dev: Track down uses of .bind() inside widgets 2013-12-03 21:54:08 +01:00
Scott González
5494bc9b2e Datepicker test: Ignore flaky test in IE in TestSwarm. 2013-12-03 11:52:11 -05:00
Scott González
72f29a111a Datepicker test: Attempt to work around an intermittent issue in IE when run through TestSwarm. 2013-12-03 11:38:17 -05:00
Scott González
acd2e1391f Datepicker test: Attempt to work around an issue in IE9 in TestSwarm. 2013-12-03 11:27:41 -05:00
Scott González
25f16855ba Menu tests: Fix line height issue in IE7 2013-12-03 10:47:01 -05:00
Mike Sherov
44b2180782 Draggable: normalize lookups for rootNodes when to bust scroll cache. Fixes #9379 - Draggable: position bug in scrollable div
Core: update scrollParent() to support all current supported browsers.
2013-12-03 10:08:12 -05:00
TJ VanToll
77bf202e58 Merge branch 'selectmenu' 2013-11-27 13:49:47 -05:00
Jörn Zaefferer
6d7a61478f Datepicker tests: Allow IE7 to return an absolute URL in the .attr('src') call 2013-11-25 16:25:39 +01:00
Jörn Zaefferer
63026bd2c7 Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7. 2013-11-25 15:53:51 +01:00
Jörn Zaefferer
9a5f20bc7d Merge branch 'master' into selectmenu 2013-11-25 14:29:30 +01:00
Scott González
8eeb0e7d88 Tests: Skip JSHint in browsers that don't support Function.prototype.bind() to work around a bug in JSHint. 2013-11-22 11:43:55 -05:00
Scott González
6a74bf9929 Menu tests: Force line height to ensure we know how many items will be scrolled. 2013-11-20 11:14:27 -05:00
Jörn Zaefferer
1096f19f37 Dialog: Keep track of instances to focus when elements outside the dialog get focus. Works with inheritance. Adds tests for both. Fixes #9241 - Dialog: UI dialog inheritance causes undefined property '_focusTabbable' in IE9 2013-11-20 16:04:13 +01:00
Jörn Zaefferer
43772f3e5b Merge branch 'master' into selectmenu 2013-11-16 12:25:21 +01:00
Jörn Zaefferer
3945a8f074 Menu: Update unit test that regressed from style changes (see 9910e938aa) 2013-11-15 12:51:10 +01:00
Jörn Zaefferer
0e5a2e126a Dialog: Restore focus to the previously focused element when window regains focus. Fixes #9101 - Dialog: Track last focused element instead of always focusing the first tabbable element 2013-11-15 08:16:24 +01:00
Scott González
ce5539f368 Dialog tests: Work around focus issue in IE8. 2013-11-14 10:32:09 -05:00
Scott González
144268a2eb Dialog test: Ensure dialog is tall enough to be scrolled. 2013-11-14 10:10:42 -05:00
Felix Nagel
ab2219b6ac Merge branch 'master' into selectmenu 2013-11-13 19:45:56 +01:00
Kris Borchers
601ad962e0 Sortable: Adjust itemWithLeastDistance algorithm in _contactContainers to properly handle dragging items to the beginning and ends of lists. Fixes #9314 - Sortable: Items cannot be dragged directly into bottom position. Fixes #9381 - Sortable: Connected list placeholders have an inaccurate initial position 2013-11-01 15:17:05 -05:00
Mike Sherov
1f724adb15 Draggable Tests: don't test auto scroll while testing helpers. 2013-10-31 21:41:45 -04:00
Felix Nagel
027d8d4cab Selectmenu: close menu on other element mousedown not on click 2013-10-29 20:54:16 +01:00
Andrei Picus
ffab89e9be Droppable: update ddmanager when scope changes through setOption. Fixed #9287 - droppable: Scope option cannot be changed after initialization. 2013-10-29 13:58:15 -04:00
Mike Sherov
a3715a7c91 Draggable Tests: Ensure all combinations of helper / draggable positions / scrollParents / parent positions are tested accurately. 2013-10-29 13:25:57 -04:00
Monika Piotrowicz
f16d0c7e26 Accordion: moving aria-expanded from active tabpanel to active tab. Fixed #9407 - Accordion: aria-expanded attribute on wrong element 2013-10-28 10:32:25 -04:00
Scott González
ecd4f95a50 Tabs: Use .uniqueId() for panels and moved isLocal() into the widget prototype. 2013-10-24 09:19:42 -04:00
Felix Nagel
480e89b1aa Selectmenu Tests: remove widthMenu option and rename widthButton option to width 2013-10-24 00:17:22 +02:00
Mike Sherov
dbbf3a9611 Draggable Tests: Ensure Draggable tests are correctly testing offset under scroll conditions. 2013-10-23 12:22:06 -04:00
Felix Nagel
fab6b8883e Merge branch 'master' into selectmenu 2013-10-21 20:33:49 +02:00
Mike Sherov
fdc7052fdb Draggable Tests: Test both position and offset of draggable element in all applicable tests. 2013-10-21 11:20:03 -04:00
Mike Sherov
94f8c4d5e9 Draggable: apply axis options to position instead of style. Fixes #7251 - Draggable: constrained axis option returns incorrect position. 2013-10-20 19:46:05 -04:00
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
Kris Borchers
52307ebadb Menu: More precise removal of ui-state-active class for easier CSS overrides. Fixes #9532 - Need a way in Menu to keep ui-state-active class on selected item 2013-10-18 22:14:49 -05:00
Kris Borchers
14065dc23b Resizable: Store size based on calculated helper size to prevent 1 pixel shifts. Fixes #9547 - Resizable: off-by-one pixel dimensions with helper and grid 2013-10-18 22:12:46 -05:00
Jörn Zaefferer
7b9c810b9a Autocomplete: Append liveRegion to body to support detached init. Fixes #9590 - Dynamically adding input field breaks auto-complete's accessibility for screen readers 2013-10-19 00:27:51 +02:00
Jyoti Deka
ecde7cd41a Widget: option-method should work as getter only when argument length is 1. Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter 2013-10-16 22:22:28 +02:00
Felix Nagel
7af3dab075 Selectmenu: Remove links in menu items 2013-10-10 01:01:41 +02:00
Felix Nagel
e26e0df3af Merge branch 'master' into selectmenu 2013-10-10 00:08:49 +02:00
Kris Borchers
9620812986 Autocomplete tests: Update tests now that generated menu doesn't have anchors in elements 2013-10-05 22:19:57 -05:00
Kris Borchers
31e705ab32 Menu: Add items option for better definition of menu items in non parent-child structures 2013-10-05 21:52:31 -05:00
Kris Borchers
3a61627a50 Menu: Remove the requirement to use anchors in menu items 2013-10-05 21:52:30 -05:00
Jörn Zaefferer
e263ebda99 Dialog: Switch back to shuffling z-index, but only look at .ui-front siblings.
Fixes #9166 - Dialog: moveToTop implementation resets flash/video/iframe/scroll
Fixes #9364 - Dialog: Click of element with tooltip scrolls the dialog to the top
2013-10-02 17:02:28 +02:00
Felix Nagel
f8377ed5af Selectmenu Tests: add width options to common test 2013-09-29 15:41:47 +02:00
Felix Nagel
de4e863552 Merge branch 'selectmenu' of github.com:jquery/jquery-ui into selectmenu 2013-09-25 21:18:57 +02:00
Jörn Zaefferer
9ef09edc79 Build: Remove the build task and it's dependencies. Will bring back testing against minified files later. 2013-09-20 18:27:07 +02:00
Kris Borchers
485e0a0612 Menu: Only focus menu after click if focus is on an element within menu. Fixes #9044 - Menu: Autofocus issue with dialog opened from menu widget 2013-09-17 13:03:18 -05:00
Scott González
134fcafdda Merge branch 'master' into selectmenu 2013-09-16 11:58:05 -04:00
Jörn Zaefferer
1552fc8a05 Spinner: Add isValid method. Fixes #9542 - Spinner: Add isValid() method 2013-09-13 00:16:31 +02:00
Jörn Zaefferer
6e799c39d3 Widget Bridge: Make the _init method optional. Add tests for both states. Fixes #9543 - Widget bridge: Make _init() optional. 2013-09-11 22:26:34 +02:00
Felix Nagel
4ddd14fe43 Selectmenu Tests: check CSS class on menu items 2013-09-04 21:34:20 +02:00
Felix Nagel
cf6dbd8b6b Merge branch 'master' into selectmenu 2013-08-31 03:12:22 +02:00
Felix Nagel
d668c94e3e Selectmenu Tests: check if button text is updated when selected option is added 2013-08-31 03:10:52 +02:00
Pere Orga
441b7fc8c1 Demos/tests: Losslessly recompress PNG/GIF images. 2013-08-26 10:18:15 -04:00
Scott González
dc380ee695 Tests: Fixed accidental use of comma instead of semicolon. 2013-08-21 09:37:03 -04:00
Scott González
e628d0e4ba Dialog: Capitalize default value for closeText option. Fixes #9500 - Dialog: Capitalize 'close' for closeText option. 2013-08-15 16:56:49 -04:00
Felix Nagel
24c293215c Selectmenu tests: lint fix 2013-08-13 19:49:17 +02: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
Kris Borchers
ec61e54e6f Merge branch 'master' into selectmenu 2013-08-11 19:16:41 -05:00
Scott González
c9815f13b4 Dialog: Search the correct document for focus trapping. Fixes #9439 - Dialog: Context is not respected for modals. 2013-08-07 08:57:36 -04:00
TJ VanToll
afdf898659 Menu tests: jshint cleanup of unused argument 2013-08-03 17:52:11 -04:00
TJ VanToll
484e382259 Menu: Only set the mouseHandled flag if the event is going to bubble. Fixes #9469: on( "menuselect" )
not firing every time.
2013-08-03 17:43:30 -04:00
Felix Nagel
a156c2cadc Selectmenu tests: check item focus 2013-08-03 01:16:42 +02:00
Alexander Schmitz
787d607f8e Widget Factory: Fix multiple var statements in test 2013-07-31 17:08:30 -04:00
Alexander Schmitz
c0ab71056b Widget Factory: Make $.widget return the constructor. Fixes #9467 - Widget factory: Return the constructor from $.widget(). 2013-07-31 16:52:21 -04:00
Felix Nagel
34e10c1f87 Merge branch 'master' into selectmenu 2013-07-26 19:28:03 +02:00
Kris Borchers
86eaa30994 Menu tests: Whitespace and general cleanup 2013-07-15 21:54:44 -05:00
Kris Borchers
a74ac174cc Menu tests: Check default is prevented on any click on disabled menus 2013-07-14 21:52:35 -05:00
Felix Nagel
05832d6b6a Merge branch 'master' into selectmenu 2013-07-09 22:55:35 +02:00
Scott González
afeaf565bb Core tests: Explicitly focus the body during delayed .focus() test to avoid an issue in IE 8. 2013-07-09 14:13:24 -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
Scott González
4148acfa9a Tabs: Prevent default action of clicks even when disabled. Fixes #9413 - Tabs: Disabled tabs are still clickable. 2013-07-03 14:38:49 -04:00
Felix Nagel
b9fa8f7a8c Selectmenu Tests: fix lint issues 2013-07-01 23:08:55 +02:00
Felix Nagel
3483b9460b Selectmenu Tests: add item looping tests 2013-07-01 22:59:43 +02:00
Felix Nagel
2c9f5a8c01 Selectmenu Tests: use trigger instead of simulate for click events in order to make tests work in IE/ and IE8 2013-07-01 22:04:30 +02:00
Felix Nagel
9992d4626e Merge branch 'master' into selectmenu 2013-06-24 20:28:10 +02:00
Rafael Xavier de Souza
1f4f002cf7 Test: Update effects_core test, since puff-effect and size-effect now have its own files 2013-06-22 11:37:37 -03:00
Jörn Zaefferer
628a141485 Menu tests: Fix lint error 2013-06-20 16:56:27 +02: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
TJ VanToll
91b7b9f9ab Menu: Reset ui-menu-icons class in refresh. Fixes #9377: Menu: Refreshing should recheck for menu icons 2013-06-16 22:37:36 -04:00
Jörn Zaefferer
ffc7d310d4 Merge branch 'master' into selectmenu 2013-06-05 14:44:44 +02:00
Felix Nagel
ab48ae7e30 Selectmenu tests: fix lint issues 2013-06-04 21:16:13 +02:00
Scott González
e776a7fb09 Slider Tests: Remove pointless doc blocks. 2013-06-04 09:35:37 -04:00
Scott González
2ba75e2c93 Slider: Remove range div when changing range option to false. Fixes #9355 - Slider: Changing range option to false does not remove range div. 2013-06-03 15:14:46 -04:00
Jörn Zaefferer
aaf75767fa 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 2013-05-31 10:35:44 +02:00
Felix Nagel
1821517d81 Selectmenu Tests: use asyncTest when working with focus events 2013-05-30 22:30:56 +02:00
Felix Nagel
57fa48281c Merge branch 'master' into selectmenu 2013-05-30 21:28:15 +02:00
Felix Nagel
e7d200f308 Selectmenu tests: test if close event is fired when selectmenu is closed by click on body 2013-05-30 21:21:44 +02:00
Felix Nagel
84ee9d8645 Selectmenu tests: improve all other focus callback event tests 2013-05-30 21:11:08 +02:00