Scott González
0059722b6b
Button: Properly refresh button sets with new radio buttons
...
Fixes #8975
Ref gh-888
2014-04-01 14:42:38 -04:00
TJ VanToll
966f80dac5
Spinner: Minor typo in stepUp()'s tests
2014-03-30 11:51:31 -04:00
Jörn Zaefferer
a40647f0e5
All: Rename jquery.js to exclude version in filename
2014-03-05 10:19:11 +01:00
Jörn Zaefferer
3651d44a30
Tests: Expose jQuery version select
...
Makes use of the extended urlConfig in QUnit 1.14
2014-03-04 23:02:37 +01:00
Jörn Zaefferer
df6110c0d4
Core: Deprecate .focus( n ), replace in dialog with explicit timeouts
...
Fixes #9646
2014-02-21 19:57:34 +01:00
Jörn Zaefferer
0c754f9d9e
Selectmenu: Refactor appendTo option tests
2014-02-21 13:40:32 +01:00
Jörn Zaefferer
fa99e23d18
Selectmenu: Fall back to .ui-front searching for empty jQuery objects
...
Fixes #9757
2014-02-21 13:35:34 +01:00
Jörn Zaefferer
8a71d0f129
Autocomplete: Fix assertion message in appendTo option test
2014-02-21 13:35:04 +01:00
Jörn Zaefferer
122b913743
Dialog: Work around subpixel issues in dialog resizable test
...
Switching to checking the size of the content element. We should be
checking the dimensions of the .ui-dialog element, but that currently
fails in Chromium-based browsers. Once we start using box-sizing:
border-box, we should try to revert this change.
Ref #9845
2014-02-20 17:54:48 +01:00
Jörn Zaefferer
822f3cd9d0
Tests: Update to sane QUnit markup
2014-02-20 17:05:02 +01:00
Mike Sherov
dc1e63b432
Draggable Tests: fix IE scroll tests affected by focus issues.
...
Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior,
we must calculate scrollTop on the drag event, before .focus is called.
2014-02-18 12:48:06 -05:00
Mike Sherov
f1025298cc
Draggable Tests: fix IE offset tests affected by focus issues.
...
Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior,
we must rely on the actual calculated offset instead of the helper offset to ensure
cross browser test consistency.
2014-02-18 12:48:06 -05:00
Mike Sherov
7017805745
Draggable: fix current JSCS violations.
2014-02-18 12:48:06 -05:00
Scott González
cf85f6726b
Tests: Use .bind() instead of .on()
2014-02-11 11:54:55 -08:00
Brian J. Dowling
9660b43c01
Tests: Fix andenable a couple of unit tests: dialog, tooltip, draggable
...
Some unit tests were disabled in phantomjs. Dialog and draggable
depended on a larger viewPort. Tooltip just worked, that was reenabled
as well.
Closes gh-1173
2014-02-11 19:47:29 +01:00
Yermo
605a20ef06
Autocomplete: Do not set value on multi-line input
...
This fixes an issue where contenteditable text was getting overwritten when
wrapping past the bottom or top of the autocomplete menu.
Fixes #9771
Closes gh-1184
2014-01-28 12:35:16 -05:00
TJ VanToll
ccb13240dd
Button: Ignore non-radio elements with the same name
...
Fixes #8761
Closes gh-1185
2014-01-28 10:58:30 -05:00
Rafael Xavier de Souza
21154cfa2e
All: Rename all files, removing the "jquery.ui." prefix;
...
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271 ;
Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Scott González
2651f4571e
Tests: Add link to selectmenu in unit index
2014-01-24 13:53:59 -05:00
Scott González
c49b9f2abb
Test: Whitespace
2014-01-24 10:21:50 -05:00
Scott González
113e9d0c2c
Autocomplete: Normalize falsy values, not just missing values
...
Fixes #9762
2014-01-22 10:40:19 -05:00
Scott González
2ef1b16e4d
Autocomplete: Fall back to .ui-front searching for empty jQuery objects
...
Fixes #9755
2014-01-20 16:20:11 -05:00
Ben Higgins
0bb807bb42
Draggable: fix changing containment
...
If containment was set such that relative_container is set by
_setContainment, and then containment changes to e.g. "document",
"window", or an array, relative_container would not be unset, causing
incorrect containment of the draggable.
Add a unittest to check that containment with an array works after
previously being set to "parent".
Fixes #9733
Closes gh-1176
2014-01-20 13:08:12 -05:00
Andrei Picus
998d04d55d
Tests: sortable: fix assert message.
...
Changed 'stop' to 'over'.
Closes gh-1174
2014-01-20 09:42:14 -05:00
Brian J. Dowling
f4423f508e
Tests: Fix draggable_options expected test count to be dynamic
...
The test count was previously incremented to 8 when normally 6 tests
are run. After figuring out the dynamic test code, I just made the
expect depend on the same array length
Also re-enabled the test in the Gruntfile since it now passes.
2014-01-16 21:25:28 +00:00
Ruslan Yakhyaev
be2a339b2b
Widget: Support events with dashes and colons
...
Fixes #9708
Closes gh-1159
2014-01-16 12:12:04 -05:00
TJ VanToll
28310ff55f
Slider & Interactions: Add Windows 8 touch support
...
Fixes #9709
Fixes #9710
Closes gh-1152
2014-01-15 15:38:10 -05:00
Thomas Meyer
1bbbcc723c
Position: Avoid reading overflow css on documents
...
Fixes #9533
Closes gh-1072
2014-01-15 05:17:50 -05:00
Kris Borchers
20c1648f68
Resizable: Only resize/reposition if size is greater than specified grid
...
Fixes #9611
Closes gh-1132
2014-01-15 04:37:32 -05:00
Andrei Picus
23c7d367b1
Sortable: Cleanup
...
Closes gh-1168
Closes gh-1169
2014-01-15 04:10:10 -05:00
Dylan Barrell
0b28d597fe
Autocomplete: Announce autocomplete correctly in all ATs.
...
Fixes #9631
Closes gh-1153
2014-01-14 11:09:49 +01:00
Michael Wiencek
0dc84db853
Tooltip: Preserve the title after disabling twice
...
Fixes #9719
Closes gh-1154
2014-01-09 20:38:08 +01:00
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
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