Commit Graph

1435 Commits

Author SHA1 Message Date
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
Felix Nagel
29f726c553 Selectmenu tests: improve focus callback event test, add keydown focus test, add multiple focus events test 2013-05-30 21:02:38 +02:00
Christian Klammer
6df5c1a4ae Resizable: Fixed sign error on offset calculation. Fixes #9307 - Resizable: Erratic behavior of contained elements within scrollable grandparents 2013-05-29 08:18:58 -04:00
Scott González
9e00e00f3b Autocomplete: Scope race condition handling to the instance. Fixes #9334 - Autocomplete: Multiple instances should be able to start asynchronous requests simultaneously. 2013-05-28 11:04:42 -04:00
Felix Nagel
cccb8c6e82 Merge branch 'master' into selectmenu 2013-05-24 19:47:42 +02: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
David Hansen
433ef9d433 Interactions: Fixed an off-by-one error in isOverAxis. 2013-05-20 21:30:16 -04:00
Scott González
2eb89f0734 Widget: Properly set widgetEventPrefix when redefining a widget. Fixes #9316 - Widget: widgetEventPrefix is empty when widget is (occasionally) loaded twice. 2013-05-20 11:30:49 -04:00
Felix Nagel
cb5f9bb9a2 Merge branch 'master' into selectmenu 2013-05-15 21:07:35 +02:00
Felix Nagel
97cca1ed78 Selectmenu Tests: improve events tests, check for original option element not only for node type 2013-05-12 21:02:03 +02:00
Felix Nagel
1c878ce844 Selectmenu Tests: simplify asyncTest 2013-05-07 22:17:41 +02:00
Felix Nagel
ef8c792db8 Selectmenu Tests: fixed spacing 2013-05-07 22:17:22 +02:00
Felix Nagel
adcfa63ac4 Selectmenu Tests: use asyncTest when working with focus events 2013-05-01 00:33:37 +02:00
Scott González
7af03b73ea Autocomplete tests: Cleanup. 2013-04-30 10:27:22 -04:00
Scott González
72f82df577 Whitespace. 2013-04-30 10:23:29 -04:00
Felix Nagel
6640925db2 Merge branch 'master' into selectmenu 2013-04-29 23:40:26 +02:00
Felix Nagel
4c930fd59b Selectmenu Tests: add spaces to [0] 2013-04-29 23:15:56 +02:00
Felix Nagel
d66528b3db Selectmenu Test: rename widget method test 2013-04-29 21:08:20 +02:00
Felix Nagel
0d7b25d946 Selectmenu Tests: clean up spacing and intention 2013-04-29 21:07:59 +02:00
Felix Nagel
1cca8292e8 Selectmenu Tests: add toLowerCase() to node type checks 2013-04-29 20:59:35 +02:00
Felix Nagel
f2bd23603d Selectmenu Tests: remove unneeded test 2013-04-29 20:51:01 +02:00
Felix Nagel
1fa8c20009 Selectmenu Tests: use simulate instead of trigger 2013-04-29 20:49:06 +02:00