Commit Graph

1411 Commits

Author SHA1 Message Date
Andrei Picus
0a01200138 Tests: Fix grammar error in comment
Changed it's to its.

Closes gh-1164
2014-01-08 11:43:59 -05:00
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
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