jquery-ui/tests/unit
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
..
accordion 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
autocomplete 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
button 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
core 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
datepicker Datepicker test: Ignore flaky test in IE in TestSwarm. 2013-12-03 11:52:11 -05:00
dialog 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
draggable Draggable: Test fix regarding static scrolling 2013-12-15 09:38:46 -05:00
droppable 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
effects Updating jQuery to 1.10.2. 2013-07-05 08:42:37 -04:00
images Lossless compression of all non-theme images using ImageOptim 2010-11-19 14:27:18 -05:00
menu 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
position Updating jQuery to 1.10.2. 2013-07-05 08:42:37 -04:00
progressbar Updating jQuery to 1.10.2. 2013-07-05 08:42:37 -04:00
resizable Resizable: containment plugin restricts resizing within container 2013-12-15 12:57:29 -05:00
selectable Tests: extract TestHelpers.forceScrollableWindow for tests that need the window to scroll 2013-10-19 18:48:04 -04:00
selectmenu Selectmenu Tests: add unit tests for empty options 2013-12-18 19:05:17 +01:00
slider Updating jQuery to 1.10.2. 2013-07-05 08:42:37 -04:00
sortable 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
spinner Spinner: Add isValid method. Fixes #9542 - Spinner: Add isValid() method 2013-09-13 00:16:31 +02:00
tabs Tabs: Use .uniqueId() for panels and moved isLocal() into the widget prototype. 2013-10-24 09:19:42 -04:00
tooltip Tooltip: On close and destroy only set title if empty or undefined 2014-01-06 16:10:02 +01:00
widget 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
all.html Updating jQuery to 1.10.2. 2013-07-05 08:42:37 -04:00
index.html Updating jQuery to 1.10.2. 2013-07-05 08:42:37 -04:00
qunit-composite.css Upgrade QUnit to 1.11.0. Fixes #8969 - Global test failure in Opera 12.12. 2013-01-31 10:19:48 -05:00
qunit-composite.js Upgrade QUnit to 1.11.0. Fixes #8969 - Global test failure in Opera 12.12. 2013-01-31 10:19:48 -05:00
subsuite.js Updating jQuery to 1.10.2. 2013-07-05 08:42:37 -04:00
swarminject.js Tests: Removed old code that kept bad test suites out of TestSwarm. 2012-10-26 13:47:34 -04:00
testsuite.js 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