Jörn Zaefferer
5cf4456aaf
Tooltip: Lowercase test html for IE7/8 compat
2014-01-06 16:33:33 +01:00
Daniel DeGroff
af85dfcafb
Tooltip: On close and destroy only set title if empty or undefined
...
Ticket #8925 states that changes to the title attribute while the
tooltip is open are lost on tooltip close.
In the close and destroy functions, the title attribute is always
written if a value was stored in the element on open. It is possible
the attribute has changed and restoring the initial value may overwrite
the current value.
If the value is empty or undefined as set in open, do not set the title
attribute.
This fix has the limitation that if the user removed the title
attribute or set the value to an empty string the original title value
would be restored on close and destroy.
Fixes #8925
2014-01-06 16:10:02 +01:00
Dylan Barrell
b9e438d07c
Tooltip: Improve accessibility by adding content to an aria-live div
...
Fixes #9610
Closes gh-1118
2013-12-19 10:36:30 -05:00
Felix Nagel
0cc8554077
Selectmenu Tests: add unit tests for empty options
2013-12-18 19:05:17 +01:00
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
Jörn Zaefferer
4992fc902e
Menu: Add ui-front on submenus to address opacity messing up stacking order. Fixes #9650 - Menu: Disabled item visible through submenu on top
2013-12-03 17:03:01 +01: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
161d7ee389
Tests: Updated URL for TestSwarm.
2013-11-22 10:49:44 -05:00
Scott González
d186deb770
Tests: Fixed path to theme files in index.
2013-11-22 10:49:17 -05:00
Scott González
f848ae38e0
Build: Include es3 option for JSHint.
2013-11-22 09:54:27 -05:00
Jörn Zaefferer
4e758450f1
Tests: Cleanup visual theme test
2013-11-20 19:03:54 +01: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
Felix Nagel
f3e4b24485
Selectmenu: improve disabled item handling
2013-10-29 19:52:54 +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
fba5c6f94a
Menu tests: Remove anchors from visual test
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
2290e30891
Selectmenu: Updating jQuery to 1.10.2.
2013-07-09 23:00:22 +02: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