Jörn Zaefferer
b22280385c
Menu: Use item.outerHeight() in _scrollIntoView
...
Fixes #9991
2014-05-06 15:06:56 +02:00
Scott González
23ea063b3c
Selectmenu: Work around test bug in IE
2014-04-24 08:38:09 -04:00
Jörn Zaefferer
192f51c9a2
Spinner tests: Remove mousewheel plugin
...
The plugin isn't needed nor used in the unit tests, which just trigger the
appropriate events. This works around the failure in Firefox 27/28 that we'll
try to track down separately.
Ref #9988
2014-04-23 20:02:52 +02:00
Scott González
69a3d94a06
Selectmenu: Test cleanup
2014-04-22 18:24:04 -04:00
Scott González
bdb0f7a4cb
Selectmenu: Test cleanup
2014-04-22 12:57:05 -04:00
Scott González
56f6f92314
Selectmenu: Test cleanup
2014-04-22 12:19:12 -04:00
Scott González
d8062dc4cf
Selectmenu: Test cleanup
2014-04-21 20:15:36 -04:00
Scott González
fd7e1e3040
Selectmenu: Default disabled option to null
2014-04-21 10:32:49 -04:00
Scott González
8b2606a650
Selectmenu: Fix reference to jQuery in tests
2014-04-21 10:11:55 -04:00
Scott González
5f11f55f61
Button: Whitespace
2014-04-21 09:15:23 -04:00
Daniel DeGroff
23d7d50f37
Button: Remove ui-state-active
when disabling buttons
...
Fixes #9602
Closes gh-1151
2014-04-21 09:14:54 -04:00
Scott González
712ac17fc7
Selectmenu: Remove unused var
2014-04-18 12:46:41 -04:00
Scott González
1272fca9ef
Selectmenu: Don't use active items at all
...
Menus only use active items for nested menus which selectmenu doesn't support.
Selectmenu should only be working with focused items.
Ref gh-1224
2014-04-18 12:37:06 -04:00
Jörn Zaefferer
3576ceb360
Resizable: Remove bad workaround for draggable+resizable
...
This adds a compound test page for draggable+resizable, which had no coverage
before. Using that page shows that there is no way to reproduce the behaviour
described in the original ticket that caused this workaround, since its not
possible to resize an element beyond the window boundaries. Therefore removing
the workaround, which is 6+ years old and has no test coverage, seems like the
sanest approach.
Fixes #6939
Closes gh-1210
2014-04-16 18:47:15 +02:00
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
1c278f97fc
Selectmenu: Fix invalid empty options in visual test
2014-02-21 19:49:54 +01:00
Jörn Zaefferer
60a5f1a499
Selectmenu: Fix whitespace in visual test
2014-02-21 19:49:09 +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
a343d83a42
Tests: Add link to visual test for selectmenu to index
2014-01-07 18:59:34 +01: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
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
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
ab72fd1666
Selectmenu: Fix htmllint warnings
2013-06-05 15:22:03 +02: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
33317c9372
Selectmenu tests: combine visual tests to one
2013-05-30 22:07:52 +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
Felix Nagel
5e06985fb4
Selectmenu Tests: add visual test selectmenu in tabs, removed old compatibility test
2013-05-01 00:07:09 +02:00
Felix Nagel
7715c71a9f
Dialog Tests: move dialog initialization to top in order to make stacking work for autocomplete and selectmenu
2013-04-30 20:26:23 +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
f96ee5e048
Tests: added Selectenu to Dialog Widgets compound test
2013-04-29 23:38:50 +02:00
Felix Nagel
4c930fd59b
Selectmenu Tests: add spaces to [0]
2013-04-29 23:15:56 +02:00
Felix Nagel
ad30163f1c
Selectmenu Tests: added labels to disabled empty visual test
2013-04-29 21:34:10 +02:00
Felix Nagel
c1667ba01d
Selectmenu Tests: change doctype to lower case
2013-04-29 21:13:33 +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
Felix Nagel
8b6c81e8a6
Selectmenu Tests: remove unneeded test
2013-04-29 20:48:48 +02:00
Felix Nagel
c73f7e81ad
Selectmenu Tests: cleanup unit tests
2013-04-29 20:47:02 +02:00
Felix Nagel
4d986a46b5
Selectmenu Tests: rename wrapper divs
2013-04-29 20:34:16 +02:00
Felix Nagel
026f5171c7
Selectmenu Tests: updated jQuery and old testsuite version
2013-04-29 20:31:02 +02:00
Jason Moon
f5f0879153
Autocomplete: Don't prevent keypress for multiline. Fixed #8911 - Autocomplete: Unable to use up/down arrow keys in a textarea (Firefox).
2013-04-25 13:17:21 -04:00
Felix Nagel
4efd006e26
Merge branch 'master' into selectmenu
2013-04-21 15:10:38 +02:00
Mike Sherov
71a332e8b8
Datepicker Tests: Fix hanging IE tests resulting from asynchronous blur
2013-04-14 18:47:29 -04:00
Mike Sherov
b75e4f7d27
Datepicker Tests: fix failing oldIE tests by creating new inputs to focus when necessary for focus tests.
2013-04-14 17:07:24 -04:00
Mike Sherov
7c939aadf8
Test Suite: Remove Flaky Datepicker test, and correct more old jQuery test cases for old Opera and old Safari.
2013-04-14 12:58:42 -04:00
Mike Sherov
d345a0d7db
Draggable: allow draggable to defer destroying itself upon DOM removal until after stop is fired. Fixes #6889 - Draggable: Cursor doesn't revert to pre-dragging state after revert action when original element is removed.
2013-04-12 14:45:48 -04:00
Mike Sherov
530d1b7c8c
Datepicker Tests: ensure Focus tests work all the way back to jQuery 1.6 in all browsers without having to rely on timeouts.
2013-04-11 20:48:05 -04:00
Scott González
0d0b05ec7c
Button: Remove ui-state-focus class when becoming disabled. Fixes #9169 - Button: Disabled button maintains ui-state-focus in IE & Firefox on Windows.
2013-04-11 14:03:51 -04:00
TJ VanToll
2de31fdbf4
Button: On form reset only call refresh on current button widgets. Fixed #9213 : Button: timeout in formResetHandler causing refresh to be called on non-widgets
2013-04-09 22:45:46 -04:00
Scott González
8f9310609a
Updated .jshintrc settings.
2013-04-08 15:02:12 -04:00
Scott González
d7ea0e5e51
Draggable tests: Wrap IIFE in parens.
2013-04-08 14:45:09 -04:00
Mike Sherov
ab84e037ed
Datepicker Tests: use simulated events for focus and blur.
2013-04-07 15:15:04 -04:00
Mike Sherov
2f7a4c669d
Datepicker Tests: fix IE7 test failures by ensuring the datepicker is hidden before showing it.
2013-04-07 14:40:26 -04:00
Mike Sherov
1c1b64fcf0
Datepicker Tests: Fix IE tests by accounting for async nature of focus/blur and by correctly not double focusing a programmatically focused date picker.
...
A partial fix was implemented to resolve #6694 , and this commit completes the fix so we can programmatically focus a date picker without focus being fired twice.
2013-04-07 14:16:31 -04:00
Mike Sherov
58d9130ba3
Draggable Tests: style guide conformance for TestHelpers
2013-04-07 12:31:21 -04:00
Mike Sherov
d4d9e14161
Draggable Tests: fix more old Safari and old Opera tests with jQuery < 1.8 tests by accounting for a bug in $.contains on disconnected Elements.
2013-04-07 12:17:19 -04:00
Mike Sherov
3c1a3ca252
Draggable Tests: fix old Safari and old Opera tests with jQuery < 1.8 tests by accounting for a bug in $.contains on disconnected Elements.
2013-04-07 12:10:59 -04:00
Mike Sherov
6a3bf605ba
Draggable Tests: fix copypasta'd assertion messages.
2013-04-06 22:59:56 -04:00
Mike Sherov
49c7b7200e
Draggable: Don't cache parent offset if the parent position is fixed. Fixes #5009 - Draggable: scroll not working with parent's position fixed
2013-04-03 12:26:39 -04:00
Mike Sherov
a88d645140
Draggable: Stop erroneously overriding scroll offsets for root nodes. Fixes #6258 - Draggable: not following mouse when scrolled and using overflow-y: scroll.
2013-04-02 19:51:36 -04:00
Felix Nagel
73c7342bc4
Merge branch 'master' into selectmenu
2013-04-02 19:42:19 +02:00
Scott González
09b3533910
Sortable: Copy the cell structure when sorting a table row. Fixes #9185 - Sortable: Placeholder breaks table-layout: fixed.
2013-04-02 10:42:21 -04:00
Mike Sherov
5217b975f3
Spinner Tests: Fix IE test failures by removing timing dependencies from focus/blur tests.
2013-04-01 08:59:52 -04:00
Mike Sherov
efe8da8e6e
Spinner Tests: Fix IE test failures by accounting for the async nature of focus/blur.
2013-03-31 12:55:57 -04:00
Mike Sherov
70717273a8
Autocomplete Tests: Fix oldIE test failures by accounting for casing differences in .html() return values.
2013-03-31 12:32:33 -04:00
Mike Sherov
e12879a441
Position Tests: Fix FF and IE10 test failures by accounting for subpixel offsets.
2013-03-31 12:28:40 -04:00
Mike Sherov
204a0423be
Draggable Tests: Fix IE8 test failures by accounting for the IE8 testswarm IFRAME positioning bug.
2013-03-31 12:19:43 -04:00
Mike Sherov
bbb53df27d
Sortable Tests: Fix IE7 Test fails by being more generous with dragging near borders.
2013-03-31 12:07:01 -04:00
Mike Sherov
384f181254
Sortable Tests: Fix IE7 test failures due to incorrectly expecting relative urls in img srcs.
2013-03-31 11:55:24 -04:00
Mike Sherov
875139ef8f
Selectable Tests: Fix test failures in IE7 by accounting simulated events properly.
2013-03-31 11:49:54 -04:00
Scott González
5a8596cdf3
Accordion: Maintain collapsed state on refresh. Fixes #9189 - Accordion: refresh() method incorrectly opens collapsed accordion.
2013-03-27 15:23:59 -04:00
Scott González
2c43548ac6
Tests: Handle globals in .jshintrc.
2013-03-27 09:40:53 -04:00
Scott González
a9e1755cb9
Build: Use globals instead of predef for JSHint.
2013-03-26 14:44:32 -04:00
Scott González
a4fabd2bb4
Whitespace.
2013-03-26 14:43:35 -04:00
Mike Sherov
38f93c4ac1
Draggable Tests: Minor style fixes and removing unnecessary setup and teardown for core tests.
2013-03-26 09:22:35 -04:00
Mike Sherov
e9faec96ed
Draggable Tests: Test that removing an element on drop doesn't cause a draggable error. Fixes #9159 - Draggable Tests: Write test case for #8269
2013-03-26 09:21:53 -04:00
Mike Sherov
dc5254aa07
Draggable: Handle containment set to false after init, and style improvements. Fixes #8962 - Containment doesn't properly update
2013-03-23 16:48:19 -04:00
Jason Moon
f306a826a4
Sortable: update placeholder when axis is x or y for connected lists. Fixed #8301 - Placeholder doesn't move when using connectWith option
2013-03-23 15:42:38 -04:00
Scott González
ff11b69a67
Autocomplete: Insert the live region before the input. Fixes #9172 - Autocomplete: .replaceWith() fails to replace.
2013-03-21 15:54:50 -04:00
Felix Nagel
1ce8d87f8b
Merge branch 'master' into selectmenu
2013-03-19 19:59:31 +01:00
Jörn Zaefferer
1c1f7c6184
Widget: Remove copy-pasta leftovers
2013-03-19 17:53:09 +01:00
Jörn Zaefferer
90135b27f8
Widget tests: Use instance method. Also replace a few instances of $.data in widget implementations.
2013-03-19 16:53:35 +01:00
Corey Frang
4fce29e935
Widgets: Updating to use instance method on bridge
2013-03-19 16:08:00 +01:00
Corey Frang
36cb6f264d
Widget: Implement instance method on the bridge to return widget instance - Fixes #9030 - instance
method in widget prototype
2013-03-19 16:07:59 +01:00
Mike Sherov
9d8af804ad
Draggable: make sure snap elements are in the document before snapping. Fixes #8459 - Draggable: element can snap to an element that was removed during drag.
2013-03-16 14:36:06 -04:00
Zbigniew Motyka
bd126a9c1c
Draggable: modified snapping algorithm to use edges and corners. Fixed #8165 - Draggable: Snapping doesn't take top/left into account properly
2013-03-16 11:51:51 -04:00
Woody Gilk
82f588e82b
Draggable: Fix double offset bug when scrolling. Fixes #6817 - Draggable: auto scroll goes double distance when dragging
2013-03-15 18:52:56 -04:00
Scott González
932caaf2dd
Core: Deprecated .zIndex(). Fixes #9061 - Core: Deprecate .zIndex().
2013-03-15 07:01:24 -04:00
Scott González
43442c3196
Accordion: Remove deprecated content property in create event. Fixes #8999 - Accordion: Remove content property from create event.
2013-03-15 06:45:38 -04:00
Scott González
0cc40d799f
Dialog: Removed deprecated position handling. Fixes #8825 - Dialog: Remove array and string notations for position option.
2013-03-15 06:41:06 -04:00
Mike Sherov
4484c52a4d
Sortable Tests: Add tests for axis option and recent axis option bugs.
2013-03-14 22:56:48 -04:00
Scott González
44d07173db
Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
...
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable: disabled should not have ui-state-disabled
This reverts commit 23771d38ba
.
2013-03-14 19:08:21 -04:00
Scott González
23771d38ba
Revert "Widget: Stop setting ui-state-disabled and aria by default on setting disabled option." This needs to wait for a major release.
...
This reverts commit 4d67f4f349
.
2013-03-14 15:07:06 -04:00
Mike Sherov
4d67f4f349
Widget: Stop setting ui-state-disabled and aria by default on setting disabled option.
...
Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled
Fixes #6039 - Droppable : disabled should not have ui-state-disabled
2013-03-11 22:08:21 -04:00
Scott González
57051e8a73
Draggable tests: Don't use .on().
2013-03-09 08:12:47 -05:00
Felix Nagel
2f7bd63dcf
Selectmenu tests: remove aria-selected tests
2013-03-09 13:30:35 +01:00
Mike Sherov
8b1b34c5c3
Sortable Tests: Add tests to support #9041 and #8792
2013-03-08 16:52:49 -05:00
Scott González
cdff72efed
Draggable: Account for descendants in handle.
2013-03-08 10:08:58 -05:00
TJ VanToll
6358695df1
Draggable: Fix border containment. Fixed #5569 - Draggable: Containment incorrectly calculates padding and border
2013-03-07 21:42:28 -05:00
Felix Nagel
a7ea386498
Selectmenu tests: improve widget method tests
2013-03-08 00:03:21 +01:00
Felix Nagel
0bf91a41c6
Merge branch 'master' into selectmenu
2013-03-07 23:56:48 +01:00
Felix Nagel
6acc6bdd7f
Selectmenu tests: adjust tests due to removed button wrapper element
2013-03-07 23:53:43 +01:00
Felix Nagel
8fc08a18ec
Selectmenu tests: adjust test to change from button to span element
2013-03-07 23:41:08 +01:00
Felix Nagel
890881d2f8
Selectmenu tests: switch from a to button element
2013-03-07 19:15:46 +01:00
Scott González
5b2da7c127
Sortable tests: Added alt attributes to images.
2013-03-07 13:15:16 -05:00
Scott González
b9be6bb7ad
Sortable: Copy the src of the original item when creating a placeholder from an image. Fixes #5129 - Sortable: Unable to use an image as a placeholder in Firefox.
2013-03-07 12:55:00 -05:00
Mike Sherov
ca0b4b8a6c
Draggable Tests: Fix containment tests
2013-03-04 11:39:14 -05:00
Mike Sherov
5a04d237dd
Draggable Tests: Fix snap test failures in IE8
2013-03-04 09:58:23 -05:00
Mike Sherov
dd16205a3f
Draggable Tests: Style Sweep
2013-03-04 01:32:23 -05:00
Mike Sherov
c278a4461b
Draggable Tests: Add test coverage for supported options
2013-03-04 01:05:11 -05:00
Felix Nagel
dffe8f6610
Merge branch 'master' into selectmenu
2013-03-03 13:48:01 +01:00
Scott González
6d3a1e1fe8
Slider tests: Use ui-slider not uiSlider for data key.
2013-03-02 15:31:38 -05:00
Scott González
271aa1d94e
Slider tests: Don't use .on().
2013-03-02 15:26:18 -05:00
Jörn Zaefferer
d94e217065
Selectmenu: Fix whitespace (trailing ws on 1 line) and lint issues (unused variables)
2013-03-01 17:18:03 +01:00
Scott González
6f29577436
Effects: Handle the .hide/show/toggle( options ) signatures from core properly. Fixes #9126 - .show()/.hide() do not support all of core's options.
2013-02-28 13:34:49 -05:00
Scott González
948563b8b5
Effects: Delegate to core show/hide when the element is already in the correct final state. This forces the element to go through the olddisplay tracking and forces styles on elements even if they're hidden via an ancestor. Fixes #9120 - Effects: .hide() inconsistent with core with a hidden parent.
2013-02-26 10:36:03 -05:00
Scott González
d0ad572349
Droppable tests: Cleanup.
2013-02-26 10:13:42 -05:00
Zaven Muradyan
1c80735acb
Droppable: Changed drop event to loop over a copied array instead of the droppables directly. Fixed #9116 - Droppable: Drop event can cause droppables to remain active if any droppable is created/destroyed in the event handler.
2013-02-26 09:56:18 -05:00
Scott González
2348fb8eb9
Spinner: Call _stop() on blur. Fixes #9112 - Spinner keeps changing after losing focus.
2013-02-22 09:15:43 -05:00
Scott González
bd47bd4ace
Sortable: When sorting table rows, create a td to force dimensions. Fixes #4765 - Sortable: Placeholder not displayed when sorting table rows.
2013-02-20 20:16:29 -05:00
Felix Nagel
d599bf9ffd
Selectmenu tests: CGL, trim triling spaces
2013-02-14 00:04:14 +01:00
Felix Nagel
f4342715a7
Selectmenu tests: remove console statements
2013-02-13 23:32:20 +01:00
Felix Nagel
75cfcf2235
Selectmenu tests: wrong selected item when using keyboard control on button and focusing menu item before
2013-02-13 22:18:12 +01:00
Felix Nagel
fdf3af681d
Selectmenu tests: check for too much fired focus events
2013-02-13 22:06:30 +01:00
TJ VanToll
a5469750ae
Merge branch 'draggable_fix_9077'
2013-02-12 21:28:23 -05:00
David Petersen
c958b211db
Position: Handle decimal percentage offsets. Fixes #9076 : percentage offset does not support decimal
2013-02-12 07:05:19 -06:00
TJ VanToll
c32bebd1bd
Draggable: Account for z-index set in CSS for the stack option. Fixed #9077 - Draggable: stack option resets the z-index
2013-02-11 23:29:48 -05:00
Felix Nagel
78f9362882
Selectmenu: Updating jQuery to 1.9.1.
2013-02-09 03:31:43 +01:00
Felix Nagel
a7b4f29cea
Merge branch 'master' into selectmenu
2013-02-09 03:29:10 +01:00
Felix Nagel
b81bb0b983
Selectmenu tests: add unit test to make sure button text is changed when refreshing selectmenu
2013-02-09 03:26:53 +01:00
Felix Nagel
110cab160e
Selectmenu tests: remove toggle event as its removed
2013-02-09 03:25:47 +01:00
David Petersen
ab408c9b82
Slider: Coding standards for tests
2013-02-07 09:19:15 -06:00
David Petersen
df077abfc2
Slider: allow range option to be changed. Fixed #5602 - Slider Does Not Exhibit Proper Behavior When Switching Range
2013-02-05 08:31:42 -06:00
Bruno M. Custódio
b440979ba6
Updating 'jQuery' to 1.9.1.
2013-02-05 13:47:59 +00:00
David Petersen
a129a93a4d
Slider: Add disabled tests and remove disabled prop from handles
2013-02-04 14:43:56 -06:00
Scott González
8724092e50
Dialog: Don't use ._on() for modal event handlers. Fixes #9048 - Dialog: broken focusin event handler when beforeclose event of a modal opens another modal.
2013-02-02 19:32:42 -05:00
Scott González
df179542cc
Datepicker: Escape single quotes in tooltips. Fixes #9049 - Datepicker beforeShowDay tooltip not displayed properly if single quote is used.
2013-02-01 16:52:04 -05:00
Jörn Zaefferer
dddf2a7ca1
Dialog: Add effect files to deprecated testsuite to sync with non-deprecated file
2013-02-01 19:17:32 +01:00
Scott González
7bbda71a32
Dialog: Check for empty array in addition to empty object when checking if there are buttons. Fixes #9043 - Dialog: Buttonpane shown with no buttons when modifying native prototypes.
2013-02-01 08:59:55 -05:00
Scott González
62cda1f95d
Dialog: Set the _isOpen flag immediately in open(). Fixes #8958 - Dialog: Double ui-widget-overlay when opening modal dialog triggers an event opening same dialog.
2013-01-31 17:20:19 -05:00
Scott González
d36d116d36
Upgrade QUnit to 1.11.0. Fixes #8969 - Global test failure in Opera 12.12.
2013-01-31 10:19:48 -05:00
Kris Borchers
2a8494fc81
Dialog Tests: Cleanup el -> element
2013-01-30 23:44:25 -06:00
Kris Borchers
e886e4a9c1
Dialog Tests: Add test to ensure dialog keeps focus when clicking a modal overlay
2013-01-30 23:44:03 -06:00
Kris Borchers
d1505e3434
Dialog: Move call to _focusTabbable and triggering of open and focus events into the _show callback. Fixes #6756 - Dialog: show: "blind" with link in content doesn't animate properly. Fixes #8051 - Dialog: 'Explode' dialog animation causes crash in IE 6, 7 and 8. Fixes #4421 - Dialog: Focus lost from dialog which uses show-effect
2013-01-30 12:30:37 -06:00
Felix Nagel
91dde04dad
Merge branch 'master' into selectmenu
2013-01-30 18:10:39 +01:00
David Petersen
2ca4d17982
Effects Core: make removeClass work correctly with changes jQuery 1.9.0. Fixed #9015 - Inclusion of jQuery UI breaks removeClass
2013-01-29 07:47:54 -06:00
David Sullivan
55360eeb7e
Dialog: modified _createOverlay to _appendTo instead of document.body. Fixed #8984 - Modal dialogs display behind overlay when using appendTo option
2013-01-26 11:34:51 -05:00
David Petersen
649f105229
Dialog: Don't handle overlays on destory if there are not any. Fixed : #9004 - failed in _destroyOverlay when I destroy a modal dialog thau was never opened. Fixed : #9000 Dialog leaves broken event handler after close/destroy in certain cases
2013-01-24 13:43:02 -06:00
David Petersen
f7f165c9f8
Merge pull request #891 from petersendidit/datepicker_8994
...
Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 -...
2013-01-23 11:50:00 -08:00
David Petersen
8f7c3e309c
Datepicker: Handle when yearRange is a year or a modifier. Fixed #8994 - Datepicker: next and prev buttons are disabled when using yearRange
2013-01-23 13:41:01 -06:00
Scott González
10c873ab6c
Accordion: Add panel in addition to content for create event. Fixes #8998 - Accordion: Create event uses content instead of panel.
2013-01-22 09:19:04 -05:00
Felix Nagel
de149c47d7
Selectmenu: Updating to jQuery 1.9.0
2013-01-18 19:28:13 +01:00
Felix Nagel
f5e65b0819
Merge branch 'master' into selectmenu
2013-01-18 19:25:30 +01:00
Kris Borchers
34409e7ddd
Updating to jQuery 1.9.0
2013-01-17 00:28:41 -06:00
Scott González
1f65b3bca9
Whitespace.
2013-01-16 13:45:54 -05:00
Felix Nagel
dcb28a7c71
Merge branch 'master' into selectmenu
2013-01-10 19:13:54 +01:00
Jörn Zaefferer
a335740537
Libs/externals: Fix line endings.
2013-01-08 17:28:45 +01:00
Scott González
48a790a327
Core: Resume focus test based on the event, not the callback.
2013-01-08 07:54:11 -05:00
Jörn Zaefferer
fb47fd0310
Merge branch 'master' into selectmenu
2013-01-03 09:45:09 +01:00
Mike Sherov
f667d090a7
Interactions: Update widget defaults to match documented API.
2013-01-02 18:27:22 -05:00
Mike Sherov
cf7dc089e0
Tests: Correct all 404 errors in the test suite
2013-01-02 18:03:03 -05:00
Mike Sherov
ff47763924
Datepicker Tests: Prepare for widget-ization tests.
2013-01-02 17:37:26 -05:00
Mike Sherov
b477098da5
Slider: add options for event callbacks
2013-01-02 14:58:12 -05:00
Felix Nagel
f244108d28
Selectmenu tests: Convert single quotes to double quotes
2013-01-02 20:28:22 +01:00
Felix Nagel
1ba02e9c5f
Merge branch 'master' into selectmenu
2013-01-02 19:38:55 +01:00
Mike Sherov
18b8ffd796
Draggable Tests: Cover all cursorAt option formats.
2013-01-01 23:16:12 -05:00
TJ VanToll
695358983e
Selectable: Account for scrolling on the helper's initial position. Fixed #8915 - Selectable: Lasso offset issue with scrolling.
2013-01-01 08:22:18 -05:00
TJ VanToll
2620be85e9
Selectable tests: Removed a non-existent script tag causing a 404 in the tests.
2013-01-01 08:19:20 -05:00
Jörn Zaefferer
37fda49e3c
Accordion: Fix testsuite overflow issue in IE7.
2012-12-28 10:41:05 +01:00
Jörn Zaefferer
2c3d311f90
Menu: Allow changing icons option after creation. Fixes #8927 - Menu: Can't change icons option after init
2012-12-27 17:23:25 +01:00
Jörn Zaefferer
0d53fbfd0b
Spinner: Trigger start/spin/stop events when calling step/page methods. Fixes #8901 - Spinner does not fire start/spin/stop events when calling stepUp()/Down(), pageUp()/Down() methods
2012-12-27 17:06:01 +01:00
Mike Sherov
1045d3a352
Draggable Tests: Fix IE7 offset failures
2012-12-27 10:39:14 -05:00
Jörn Zaefferer
04d668b717
Spinner: Update button icons when option changes. Fixes #8926 - Spinner: Can't change icons option after init
2012-12-27 12:50:04 +01:00
Mike Sherov
0d4022bceb
Tests: Convert single quotes to double quotes.
2012-12-26 08:08:48 -05:00
Mike Sherov
ecb7b6ec12
Draggable Tests: add back in unreliable offset hack for cursorAt tests
2012-12-22 17:39:36 -05:00
Mike Sherov
46925b8808
Draggable Tests: use jquery.simulate.js to simulate drag events
2012-12-22 16:30:27 -05:00
Mike Sherov
6d88d264be
Dialog Tests: Fix test fails due to window measurements in FF and IE7
2012-12-22 15:46:57 -05:00
Mike Sherov
48d7d53f7b
Dev: stop loading *_tickets.js in the test suite.
2012-12-22 12:56:19 -05:00
Felix Nagel
44e472a613
Merge branch 'master' into selectmenu
2012-12-20 22:05:23 +01:00
Scott González
68a307c547
Build: Added notStrictEqual to the globals list for unit tests.
2012-12-20 09:49:26 -05:00
Felix Nagel
dab7bf8993
Merge branch 'master' into selectmenu
2012-12-20 00:32:28 +01:00
Felix Nagel
84621940bf
Selectmenu tests: remove option dropdown
2012-12-20 00:12:35 +01:00
Dominic Barnes
209443d716
Slider: Create clone of options.values during _create(). Fixed #8892 - Multiple Sliders have Conflict with options.values.
2012-12-18 11:48:10 -05:00
Felix Nagel
1b1dbd8e3a
Selectmenu tests: add Position plugin to loaded resources
2012-12-15 02:25:41 +01:00
Felix Nagel
58f2706cbb
Selectmenu tests: improve compatibility visual test in order to work with ui-front
2012-12-15 02:24:45 +01:00
Felix Nagel
ae68ab8118
Selectmenu tests: improve appendTo option tests
2012-12-15 02:24:10 +01:00
Felix Nagel
930e9d5993
Selectmenu tests: adjust common test to new appendTo mechanism
2012-12-15 02:23:04 +01:00
Felix Nagel
8aa24dd1d5
Merge branch 'master' into selectmenu
2012-12-15 01:10:32 +01:00
Felix Nagel
25023c3040
Selectmenu tests: fixed headlines in disable / empty visual test
2012-12-15 01:07:10 +01:00
Scott González
8ec7a1b69f
All: Use .addBack() instead of .andSelf().
2012-12-14 11:13:50 -05:00
Scott González
80e46c93a8
Autocomplete: Append to closest .ui-front if available.
2012-12-14 09:10:32 -05:00
Felix Nagel
21e46b8bc6
Selectmenu tests: improve and merge visual tests
2012-12-13 01:15:48 +01:00
Felix Nagel
812a90fc82
Selectmenu tests: improve focus event test so its possible to test for too much focus events from menu widget
2012-12-12 19:30:45 +01:00
Scott González
f5aaf874e9
Progressbar: Moved .ui-progressbar-indeterminate to main element. Added tests for markup structure.
2012-12-12 11:21:49 -05:00
Felix Nagel
f6372bd7ea
Merge branch 'master' into selectmenu
2012-12-12 16:44:19 +01:00
Mike Sherov
a677ea7dc0
Dev: update jquery.simulate.js to latest version from http://github.com/jquery/jquery-simulate
2012-12-12 03:59:11 -05:00
Mike Sherov
fec36fd214
Dev: remove todos from datepicker and dialog testsuite
2012-12-12 03:16:33 -05:00
Scott González
b9f206dbcf
Dialog: Cleanup.
2012-12-11 16:23:18 -05:00
Scott González
28fcef5e9e
Datepicker tests: Handle async focus in IE.
2012-12-11 10:06:13 -05:00
Scott González
694987f2f7
Menu tests: Better handling of async focus in IE.
2012-12-11 09:44:39 -05:00
Scott González
020abcf8a9
Spinner tests: Delay all the things to make IE happy. Maybe...
2012-12-10 15:54:06 -05:00
Scott González
245a82d5aa
Dialog tests: More async focus handling to deal with IE8.
2012-12-10 15:31:56 -05:00
Scott González
d5f06c319a
Spinner tests: Better handling of async focus in IE.
2012-12-10 10:35:28 -05:00
Scott González
fbc7956b9f
Button tests: Handle async focus in IE.
2012-12-10 10:35:01 -05:00
Scott González
2841541362
Core tests: Handle async focus in IE.
2012-12-10 10:34:44 -05:00
Scott González
0f0ec001aa
Dialog tests: Updated markup for deprecated tests to match standard tests.
2012-12-10 08:53:13 -05:00
Mike Sherov
9f76446775
Dev: remove unnecessary simulated drag delegation in test suite
2012-12-08 21:27:37 -05:00
Mike Sherov
5dee8dee30
Dev: Change incorrect references in test suite from #main to #qunit-fixture.
2012-12-08 13:19:36 -05:00
Mike Sherov
e83a89dd7d
Dev: Remove *_tickets.js test files and move the associated tests to the proper locations.
2012-12-07 20:06:29 -05:00
Scott González
d4551bc3b8
Dialog: Respect maxHeight when determining size on open. Fixes #4820 - Dialog: Auto height does not respect the maxHeight option.
2012-12-07 16:57:03 -05:00
Scott González
70b16ef445
Dialog: Added appendTo option. Fixes #7948 - Dialog: Allow dialog to be attached to a element other than body.
2012-12-07 14:54:21 -05:00
Scott González
da17a232ca
Autocomplete: Handle detached elements for appendTo after create.
2012-12-07 11:58:58 -05:00
Scott González
20a29dfd61
Datepicker: Run JSHint test in unit tests.
2012-12-06 11:56:56 -05:00
Scott González
f7614706ab
Progressbar: Cleanup, byte shaving.
2012-12-06 10:10:07 -05:00
Scott González
9d0df53624
Progress tests: Cleanup.
2012-12-06 09:50:33 -05:00
Scott González
f1be88e795
Progressbar: Only remove aria-valuenow for indeterminate progressbars. Added more accessibility tests.
2012-12-06 09:35:41 -05:00
Scott González
8c763cdf98
Progressbar: Define defaults for callbacks.
2012-12-06 09:21:25 -05:00
Scott González
f59f5a8b12
Dialog: Restore inline styles for dimensions/display. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-05 11:53:34 -05:00
Scott González
598cdae199
Datepicker: Handle changes to the disabled option. Fixes #8883 - Datepicker: Changing disabled option doesn't work.
2012-12-05 10:38:31 -05:00
Scott González
3c2acc3227
Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
2012-12-04 10:03:05 -05:00
Scott González
050e71bdd8
Revert "Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers."
...
This reverts commit d687a1b10d
.
2012-12-04 09:21:33 -05:00
Jörn Zaefferer
1e8baf5683
Dialog: Remove the instance-storing for the overlay, just create one whenever it is needed. Heavily simplifies the code, while the memorly leak should be hardly an issue anymore, since fixed positioning restricts the overlay size to the window dimensions. Fixes #6058 - Dialog overlays are not properly reused when multiple instances of a Dialog exist.
2012-12-04 01:08:34 +01:00
Jörn Zaefferer
d687a1b10d
Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers.
2012-12-04 00:35:47 +01:00
Scott González
8b15aaf496
Widget: Don't modify the prototype passed to $.widget(). Fixes #8876 - Calling _super calls wrong inherited widget.
2012-12-03 14:18:24 -05:00
Scott González
7312933c88
Widget tests: Fixed order of actual and expected.
2012-12-03 13:57:28 -05:00
Jörn Zaefferer
bdb0fbe993
Dialog: Restrict title to a single line. Fixes #7773 - Dialog: If titlebar changes height during resize, button pane positioning changes.
2012-12-03 19:09:32 +01:00
Scott González
5ba267e7c7
Resizable: Respect containment for alsoResize option. Fixes #4603 - Resizable: alsoResize option doesn't work with containment. Fixes #5559 - Dialog: Content grows bigger than widget on resize at document edge.
2012-12-03 10:36:55 -05:00
Jörn Zaefferer
13505e5945
Dialog: Ensure all animations finish and clean up themselve when destroying dialog. Fixes #5860 - Dialog: Destroying a dialog during animated close leaves .ui-effects-wrapper in DOM.
2012-11-30 13:08:56 +01:00
Felix Nagel
6fd9d8f93c
Selectmenu tests: add button widget js file to fix compatibility test
2012-11-29 20:36:48 +01:00
Felix Nagel
d1c9837a51
Selectmenu tests: remove themeswitcher as its no longer available
2012-11-29 20:35:29 +01:00
Scott González
948f874266
Button tests: Work around a quirk in Opera.
2012-11-29 09:19:05 -05:00
Felix Nagel
36533a718d
Merge branch 'master' into selectmenu
2012-11-28 23:29:15 +01:00
Mike Sherov
37ea734182
Button tests: simulated clicks aren't perfect in oldIE and Opera
2012-11-28 11:22:14 -05:00
Scott González
dec844570f
Autocomplete: When appendTo is a jQuery object or a DOM element, don't search against the document. Fixes #8858 - Autocomplete: Fails when appendTo is detached from the DOM.
2012-11-28 10:33:59 -05:00
Scott González
f2854408cc
Tooltip: Escape the title attribute so that it's treated as text and not HTML. Fixes #8861 - Tooltip: XSS vulnerability in default content.
2012-11-27 11:21:33 -05:00
Mike Sherov
22bd9fc704
Button Tests: move aria-pressed test to correct module
2012-11-26 20:24:31 -05:00
Fabrício Matté
caacf8f504
Button: Let change handler handle display and aria update. Fixed #5518 - Button: Incorrect state after double click in Firefox
2012-11-26 20:15:53 -05:00
David Petersen
6121683d80
Tabs: Calculate border and padding on tabs container. Fixed #8836 : Height overflows parent with heightStyle: 'fill'.
2012-11-26 16:35:07 -05:00
Scott González
ee8d20ea06
Dialog: Moved resizable handle test from resizable.
2012-11-26 16:27:18 -05:00
TJ VanToll
0cd470b0d5
Resizable: Modified the default z-index value of resizable handles. Fixed #7960 - Dialog: Modal dialogs do not disable resizables on the page.
2012-11-26 12:42:44 +01:00
Kris Borchers
a68d5ca31d
Dialog: Add unit test to cover #8789 and #8838 .
2012-11-26 12:14:29 +01:00
Kris Borchers
d179cbaf32
Dialog: Update position when size is changed. Fixes #8789 - Dialog does not close for first click on chrome.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
a09f5c07f5
Dialog: Follow-up to 9fe3a62d8
- also deprecate string notation for position option.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
f3525afe0e
Dialog: Update focus-tabbable test with a timer workaround to get IE8 to pass.
2012-11-26 10:28:25 +01:00
Jörn Zaefferer
5aac8f563f
Dialog: Add missing unit test for aria-describedby attribute
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
a0310eb091
Dialog: Move array notation support for position option to backCompat check. Fixes #8824 - Deprecate array notation for position option.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
0be97bf8c0
Dialog: Removed broken disabled option from dialog, defuse disable/enable methods. Disabling dialogs is not supported.
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
b27db7e3b9
Dialog: Extend autofocus, starting with [autofocus], then :tabbable content, then buttonpane, then close button, then dialog. Fixes #4731 - Dialog: Add option to set which element gains focus on open
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
299681e8f0
Dialog: Cleanup in ticket tests: TODO to merge one test, fix whitespace
2012-11-26 10:28:24 +01:00
Jörn Zaefferer
b694409e76
Dialog: Extend visual test to verify DOM position restore on destroy; overhaul unit test for destroy method.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
999617343f
Dialog: Pass through icons and showText (as 'text') options to button. Fixes #6830 - Allow Icons to be specified for Dialog buttons.
2012-11-26 10:28:23 +01:00
Jörn Zaefferer
4c9caa8169
Dialog: Extract button pane creation into _createButtonPane
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
fed2972027
Dialog: Refactor _setOption to call _super early. Move dialogClass update above that to access old option value.
2012-11-26 10:28:22 +01:00
Jörn Zaefferer
83a9f219bf
Dialog: Use button widget for close button (was already listed as dependency)
2012-11-26 10:28:21 +01:00
Jörn Zaefferer
0848040d3e
Dialog: Focus tabbable only when dialog lost focus before.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
6edce86733
Dialog: Remove attroperty workaround for title attribute. Make the default null, as it should be. No back-compat, as the behaviour doesn't change.
2012-11-26 10:26:12 +01:00
Jörn Zaefferer
4632780435
Dialog: Fix yoda-if, remove unnecessary TODOs; add missing callbacks to commons test
2012-11-26 10:26:11 +01:00
Felix Nagel
e25cdd88e7
Merge branch 'master' into selectmenu
2012-11-23 13:49:12 +01:00
Felix Nagel
0d4a8dca55
Selectmenu tests: Upgrade jQuery to 1.8.3
2012-11-23 13:45:01 +01:00
kborchers
d3bc471688
Progressbar: Add ability to set value: false for an indeterminate progressbar. Fixes #7624 - Progressbar: Support value: false for indeterminate progressbar
2012-11-21 21:48:17 -06:00
Mike Sherov
70e013830d
Button tests: fix IE7 fail for latest focus tests
2012-11-21 19:29:22 -05:00
TJ VanToll
93abe02b60
Button: Fixing handling of the disabled options on refresh method calls. Fixed #8828 - Button: Refresh does not re-enable disabled button.
2012-11-21 19:24:24 -05:00
Samuel Bovée
cb748b4a6f
Slider: factorize code with Widget method call. Fixed #8772 - Wrong slider UI state when disabled at init
2012-11-21 19:18:00 -05:00
Mike Sherov
f13b5dfa7f
Button: add blur event to buttons. Fixes #8559 - Button: Button doesn't remove active state when using keyboard.
2012-11-21 19:14:04 -05:00
Scott González
c348f2890c
Button tests: Whitespace.
2012-11-20 12:52:26 -05:00
Mike Sherov
8cfee45ac9
Button tests: replace XHTML with HTML in button test suite
2012-11-19 09:23:05 -05:00
Roman Salnikov
7ffcaa2e3b
Datepicker: reinitialize datepicker if mainDiv isn't on the page. Fixed #5679 - Datepicker should reinitialize if dpDiv is removed
2012-11-19 09:15:10 -05:00
mathias.stenbom
cf9fbce139
Draggable: made handles work with complex markup. Fixes #8757 - Draggable: Resizable handle with inner element does not work, when its also draggable
2012-11-19 09:06:50 -05:00
Mike Sherov
cc7df712cc
Button: properly escape button names. Fixes #7505 - Button: Buttonset not applied to radio group with quotation/apostrophe in name.
2012-11-19 08:37:41 -05:00
Mike Sherov
a1b32b59d5
Resizable: use css() instead of position() for absolute placement. Fixes #3815 - Resizable: absolutely positioned element inside scrollable element is repositioned when resized
2012-11-17 01:29:39 -05:00
Scott González
23f7e30c77
Tabs: Remove ui-tabs-aria-controls data on destroy.
2012-11-16 16:10:22 -05:00
Scott González
8f46418c35
Slider tests: Don't use QUnit.reset() or on().
2012-11-16 11:20:58 -05:00
Juan Pablo Kaniefsky
a18863205e
Slider: when handles overlap, clicking and dragging will now pick the last one that was moved. Fixed #3467 - Sliders Handles can overlap, only small sliver of slider is selectable
2012-11-16 09:32:56 -05:00
Scott González
ccdceddd80
Datepicker tests: Work around encoding issues in oldIE.
2012-11-15 18:57:44 -05:00
Jörn Zaefferer
f86168bf6b
Merge branch 'master' into selectmenu
2012-11-15 17:14:19 +01:00
Scott González
8c36603305
Dialog tests: Work around inconsistent handling of non-breaking spaces in IE7/8 with jQuery <1.8.
2012-11-15 10:47:36 -05:00
Scott González
fb6119e182
Upgrade jQuery to 1.8.3.
2012-11-14 15:22:01 -05:00
Scott González
1b503a237e
Tooltip: Handle synthetic focusin events. Fixes #8740 - Tooltip: Does not hide consistently with dynamically loaded content.
2012-11-14 14:14:45 -05:00
Jay Merrifield
eca5abd873
Datepicker: Updated the range tests so you can't navigate past the yearRange. Fixes #7362 - Datepicker allows changing year to something outside yearRange
2012-11-13 21:08:55 -05:00
Felix Nagel
d24e62bade
Selectmenu tests: lint fixes
2012-11-13 22:28:10 +01:00
Felix Nagel
2bb459f1b6
Selectmenu tests: lint fixes
2012-11-13 21:58:23 +01:00
Scott González
ff055a0c35
Datepicker tests: Fixed setting of option.
2012-11-13 10:34:31 -05:00
Scott González
608341d20d
Tests: Commented out getElementStyles() while its not used.
2012-11-13 09:46:19 -05:00
Scott González
248e632f4d
Tests: Temporarily remove style checks in domEqual().
2012-11-13 09:38:29 -05:00
Ethan Romba
3974b55ba5
Resizable: Update CSS dimensions selectively. Fixes #7605 - Setting width and height when only one is changing
...
Resizable: Trigger resize event only when element is resized. Fixes #5545 - Callbacks ignore the grid.
Resizable: Added event tests. Fixes #5817 - resize event reports unconstrained ui.size
2012-11-12 21:41:22 -05:00
Felix Nagel
daec559c98
Merge branch 'master' into selectmenu
2012-11-12 23:28:24 +01:00
Scott González
902df84fce
Tests: Allow async domEqual() tests.
2012-11-12 11:19:20 -05:00
David Petersen
d657538ed5
Accordion: Enhance refresh to allow adding/removing panels. Fixes #4672 - Accordion: ability to add/remove panels
2012-11-11 21:38:21 -05:00
Cory Gackenheimer
8e1ceba717
Button: use _hoverable for hover state management. Fixes #5295 - button doesn't remove hover state if they are disabled
2012-11-11 21:17:05 -05:00
Felix Nagel
7ce8e0515e
Merge branch 'master' into selectmenu
2012-11-10 01:40:05 +01:00
Felix Nagel
94b3a65c66
Selectmenu tests: adjust accessibility test
2012-11-10 01:37:54 +01:00
Mike Sherov
00e92e16b4
Dev: remove all-active test runner as now all test suites can run cleanly!
2012-11-09 17:26:12 -05:00
Mike Sherov
cc5c2aad96
Dev: enable slider in the test suite
2012-11-09 17:22:35 -05:00
Mike Sherov
7ed4aa56c6
Dev: temporarily disable odd test failures in Datepicker
2012-11-09 17:06:30 -05:00
Scott González
9e858ba14a
Widget: Only use the event prefix from the base if we're redefining a widget. Fixes #8805 - Widget: widgetEventPrefix is incorrect when inheriting with jQuery UI 1.9.1.
2012-11-09 16:49:03 -05:00
Mike Sherov
254f2b3698
Dev: fix the datepicker test suite and jshint everything. Fixes #8804 - Dev: re-enable the datepicker test suite
2012-11-09 16:27:45 -05:00
Mike Sherov
543abc9b1f
Dev: clean up dialog test suite with new helper methods. Fixes #8803 - Dev: re-enable the dialog test suite
2012-11-09 15:02:26 -05:00
Scott González
fd48568c40
Tabs: Show panels on destroy. Fixes #8795 - Tabs: 'display: none;' attribute is not removed from tabs when destroy is called.
2012-11-09 14:52:57 -05:00
Scott González
f5870712c1
Updated all widgets to use proper data keys when getting plugin instances.
2012-11-09 13:28:13 -05:00
Scott González
498aadf644
Tooltip: Ignore disabled checks when closing. Fixes #8758 - Tooltip: Tooltip is shown, but not hidden if element has class=ui-state-disabled.
2012-11-09 13:07:53 -05:00
Scott González
1cdeeccab0
Widget: Suppress disabled check when binding destroy to the remove event. Fixes #8769 - Widget: ui-state-disabled blocks destroy to be triggered on remove.
2012-11-09 12:54:33 -05:00
Scott González
d44557f50a
Widget: Removed dual storage of widget instances. Fixes #8801 - Widget: Remove data fallbacks for widget names.
2012-11-09 12:51:26 -05:00
Scott González
84cd214486
Widget: Added suppressDisabledCheck flag to _on(). Fixes #8800 - Widget: Ability to use _on() even when disabled.
2012-11-09 12:39:41 -05:00
Ethan Romba
6e0a0553ce
Resizable: Grid now respects min/max dimensions. Fixed #8435 - grid does not respect min/max dimensions
2012-11-09 09:48:50 -05:00
Kris Borchers
8976bc7e3d
Progressbar: Refactor to better handle option changes and sanitize values. Fixes #8785 - Progressbar: Remove _value() and always sanitize value option
2012-11-08 12:02:25 -06:00
Avinash R
75bd22eb73
Widget: Bridge falls back to name if there is no widgetFullName, and always stores instances in data. Fixed #8775 - Widget: Bridge fails if widgetFullName is not supplied.
2012-11-07 10:05:00 -05:00
Mathias Stenbom
0bff32a2b1
Resizable: Made handles work with complex markup. Fixes #8756 - Resizable: Complex markup for handles.
2012-11-05 13:16:48 -05:00
Jörn Zaefferer
6874f19061
Tooltip: Fix default for position option, follow-up to 1d9eab1
.
2012-11-05 19:07:03 +01:00
Jörn Zaefferer
98173a3d0e
Tooltip: Check type on event directly, preventing TypeError when programmatically moving focus to track-toolipped-input. Fixes #8747 - Tooltip: Using the track option within dialogs creates JS errors
2012-11-05 18:59:52 +01:00
Jörn Zaefferer
8b3e570241
Menu: Look into submenus for uninitialized menu items. Fixes #8773 - Menu: refresh() doesn't refresh existing submenus.
2012-11-05 18:42:41 +01:00
Scott González
8bdf0359bb
Skip collision: fit test in IE until TestSwarm stops using iframes.
2012-11-05 11:31:33 -05:00
Mike Sherov
068d597166
Dev: fix IE fails in draggable and selectable - Fixed #8770 Dev: Remove globals and Standardize Test Suite
2012-11-04 09:31:56 -05:00
Mike Sherov
3df9ea29e6
Dev: remove globals from tests and moved test helpers to correct location - Fixed #8770 Dev: Remove globals and Standardize Test Suite
2012-11-03 16:17:16 -04:00
Mike Sherov
68ad80c292
Dev: Standardize sortable test suite. Fixed #8755 - Dev: Get sortable test suite to pass
2012-11-01 20:54:52 -04:00
Mike Sherov
d771048a56
Dev: Fix test failures in oldIE. Fixed #8748 - Dev: Get draggable test suite to pass
2012-10-31 10:02:01 -04:00
Mike Sherov
d85b0160f2
Dev: Standardized the resizable test suite. Fixed #8754 - Dev: Get resizable test suite to pass
2012-10-31 09:50:36 -04:00
Mike Sherov
8746042ae1
Dev: Standardized the droppable test suite. Fixed #8753 - Dev: Get droppable test suite to pass
2012-10-30 22:24:41 -04:00
Mike Sherov
b49e071d39
Dev: Standardized the selectable test suite. Fixed #8752 - Dev: Get selectable test suite to pass
2012-10-30 22:19:55 -04:00
Mike Sherov
f0daa220d6
Dev: Standardized the draggable test suite. Fixed #8748 - Dev: Get draggable test suite to pass
2012-10-30 22:13:43 -04:00
Scott González
d074efe528
Tooltip: Use attributes, not properties, when checking for parent tooltips. Fixes #8742 - Tooltip shows incorrect message in chrome if there is input with name='title' in a form.
2012-10-28 20:28:55 -04:00
Scott González
5bd19650a3
Datepicker: Removed iframe cover for IE6.
2012-10-26 15:59:29 -04:00
Scott González
2a68a7d2bc
Dialog tests: Removed stack option.
2012-10-26 14:38:27 -04:00
Scott González
d68ef5e4e1
Tests: Removed old code that kept bad test suites out of TestSwarm.
2012-10-26 13:47:34 -04:00
Scott González
68cab60fa7
Removed bgiframe.
2012-10-26 10:53:17 -04:00
Jörn Zaefferer
039ee746d3
Dialog: Visual test page for modal form dialogs
2012-10-25 20:47:22 -04:00
Jörn Zaefferer
8251440d78
Dialog: Visual test page for animated modal dialog
2012-10-25 20:47:05 -04:00
Felix Nagel
e7e73cec07
Selectmenu tests: aria-activedescendant für button
2012-10-25 22:24:50 +02:00
Felix Nagel
e059376eae
Selectmenu tests: add test for button aria-labelledby attribute
2012-10-25 20:53:57 +02:00
Jörn Zaefferer
b8e0de2444
Effects: Remove deprecated $.effects[]. Fixes #7115 - Effects: Remove support for effects in $.effects[].
2012-10-25 09:29:11 -04:00
Scott González
2582bfab46
Position: Removed offset option. Fixes #6982 - Position: Remove offset option.
2012-10-25 06:39:14 -04:00
Scott González
bc44e61dd9
Accordion: Removed change and changestart events. Fixes #6841 - Accordion: Remove changestart event. Fixes #6843 - Accordion: Remove change event.
2012-10-25 06:19:25 -04:00
Scott González
8d35c03dfd
Accordion: Removed animated option. Fixes #8601 - Accordion: Remove animated option.
2012-10-25 06:15:30 -04:00
Scott González
054b208a99
Tabs: Removed all templating features. Fixes #7158 - Tabs: Remove add and remove methods. Fixes #7157 - Tabs: Remove templating (idPrefix, tabTemplate, panelTemplate options). Fixes #7149 - Tabs: Remove use of title attribute.
2012-10-25 06:10:00 -04:00
Scott González
056f83fb01
Tabs: Removed back-compat filter in tests for negative active option.
2012-10-25 06:00:18 -04:00
Scott González
3d6c2a66d4
Tabs: Removed back-compat for load event. Fixes #8731 - Tabs: Remove back-compat for load event.
2012-10-25 05:59:20 -04:00
Scott González
828b3c420c
Tabs: Removed abort method. Fixes #7150 - Tabs: Remove abort method.
2012-10-25 05:48:51 -04:00
Scott González
6a00d418bc
Tabs: Removed spinner option. Fixes #7151 - Tabs: Remove spinner option.
2012-10-25 05:47:51 -04:00
Scott González
a9053d9300
Tabs: Removed selected option. Fixes #7152 - Tabs: Remove selected option.
2012-10-25 05:46:54 -04:00
Scott González
fb525e1cb1
Tabs: Removed select event. Fixes #7154 - Tabs: Remove select event.
2012-10-25 05:45:18 -04:00
Scott González
a1fd49fb29
Tabs: Removed show event. Fixes #7155 - Tabs: Remove show event.
2012-10-25 05:44:22 -04:00
Scott González
7cf2719d0c
Tabs: Removed select method. Fixes #7156 - Tabs: Remove select method.
2012-10-25 05:41:14 -04:00
Scott González
0fc682a8da
Tabs: Removed enable and disable events. Fixes #7160 - Tabs: Remove enable and disable events.
2012-10-25 05:39:15 -04:00
Scott González
1a7958a430
Tabs: Removed length method. Fixes #7161 - Tabs: Remove length method.
2012-10-25 05:37:37 -04:00
Scott González
0429532ad1
Tabs: Removed cookie option. Fixes #7162 - Tabs: Remove cookie option.
2012-10-25 05:36:24 -04:00
Scott González
723d3e0040
Tabs: Removed fx option. Fixes #8320 - Tabs: Remove fx option.
2012-10-25 05:32:02 -04:00
Scott González
acdd1917b2
Tabs: Removed url method. Fixes #7148 - Tabs: Remove url method.
2012-10-25 05:28:54 -04:00
Scott González
52a184e31c
Tabs: Removed ajaxOptions and cache options. Fixes #7147 - Tabs: Remove ajaxOptions and cache options.
2012-10-25 05:27:33 -04:00
Jörn Zaefferer
974e5f8196
Accordion: Removed deprecated resize method. Fixes #6839 - Accordion: Remove resize method.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
d67bc412a8
Accordion: Removed deprecated activate method and expanded active option. Fixes #6837 - Accordion: Remove the activate method. Fixes #6853 - Accordion: Remove support for non-number/falsey values for active option.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
fd952c5a79
Accordion: Removed deprecated icon option. Fixes #6835 - Accordion: Remove icons.headerSelected.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
09eed560f8
Accordion: Removed deprecated navigation options. Fixes #5870 - Accordion: Remove navigation options.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
0cdd5591be
Accordion: Remove deprecated height options. Fixes #5868 - Accordion: Remove clearStyle option. Fixes #5872 - Accordion: Remove autoHeight and fillSpace options.
2012-10-24 17:44:06 -04:00
Jörn Zaefferer
14691ae6fe
Dialog: Save the active element that opened the dialog and restore focus to that. Fixes #8730 - Dialog: Restore focus to opener.
2012-10-24 17:02:32 -04:00
Jörn Zaefferer
2a2a2c017c
Dialog: Prevent dialog form losing focus (or move it back in IE <= 8).
2012-10-24 16:57:13 -04:00
Nate Eagle
3829a37ca1
Dialog: Awesome new stacking and overlay implementation. Fixes the following tickets:
...
Fixes #3534 - Dialog: Modal dialog disables all input elements on page.
Fixes #4671 - Dialog: Modal Dialog disables vertical scroll bar in Chrome & Safari.
Fixes #4995 - Dialog: Modal Dialog's overlay dissapears in IE when content is tall.
Fixes #5388 - Dialog: Don't change z-index when already at the top.
Fixes #5466 - Dialog: "modal" Dialog Incorrectly Cancels Input Events.
Fixes #5762 - Dialog: Get rid of z-index workaround, document it instead.
Fixes #6267 - Dialog: checkboxes that inherit a z-index < jqueryui.dialog z-index don't work.
Fixes #7051 - Dialog: modal prevents tab key from moving focus off slider handle.
Fixes #7107 - Dialog: Modal dialog event loss with high zindex child elements (FF 3.6).
Fixes #7120 - Dialog: Modal operation interrupts drag drop marker functionality on gmaps.
Fixes #8172 - Dialog: Change event cancelled when opening modal dialog from another modal dialog.
Fixes #8583 - Dialog: Mouse event wrongly stopped.
Fixes #8722 - Dialog: Remove stack option.
Fixes #8729 - Dialog: Remove zIndex option.
2012-10-24 16:56:19 -04:00
Jörn Zaefferer
721a4b4ae0
Widget: Fix _on to use element argument for delegated events. Fixes #8658 - Widget: this._on delegates using instance.widget() instead of passed element
2012-10-24 10:42:21 -04:00
Scott González
848ab48583
Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - widgetEventPrefix is lost when extending existing widget.
2012-10-24 10:13:51 -04:00
Jörn Zaefferer
ba752cf7ed
Tooltip: Run _disable when disabled option is set on create. Fixes #8712 - Tooltip: Disabled tooltips on initialization.
2012-10-24 10:02:21 -04:00
Scott González
86a958d3aa
Core: Update :focsable and :tabbable to handle parents with no height/width, but visible overflow. Fixes #8643 - :focusable pseudo-selector does not find elements if parent has 0x0 dimension.
2012-10-23 15:12:54 -04:00
Scott González
97b4813f30
Tooltip tests: Fixed new default value for position option.
2012-10-23 15:07:19 -04:00
Marc-Andre Lafortune
8bb05d23e2
Widget: Destroy only when element is the actual target. Fixes #8652 - Widget: Destroy only when element is the actual target.
2012-10-23 14:06:30 -04:00
Mike Sherov
e1230997aa
Build: Enable "unused" option in jshint - Remove unused variables from codebase. - Closes gh-788
...
Squashed commit of the following:
commit 7f19f92c64
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 10:34:28 2012 -0400
put back in fake args for signatures that we want to keep
commit 257505a9e6
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Tue Oct 23 08:10:20 2012 -0400
changes per @scott_gonzalez
commit 12725480cb
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:54:05 2012 -0400
clean up unused vars in ui directory
commit 563595e7ae
Author: Mike Sherov <mike.sherov@gmail.com>
Date: Mon Oct 22 22:37:42 2012 -0400
clean up unused vars in grunt and tests
2012-10-23 09:37:46 -05:00
Mike Sherov
d67522e329
Build: Upgrade to the latest Grunt and JSHint - Closes gh-786
2012-10-22 17:04:08 -05:00
Scott González
9b908878ae
Widget: $.widget.extend(): Properly handle extending a string with an object. Fixes #8713 - Passing an object as ui.resizable handles parameter does not work.
2012-10-22 15:36:11 -04:00
Scott González
6bedc0af35
Whitespace.
2012-10-22 15:36:11 -04:00
Trey Hunner
49f9b849b9
Remove trailing whitespace and add final newlines
2012-10-21 22:45:41 -04:00
Trey Hunner
0bcbfe7146
Replace mixed CRLF/LF line endings with LF
2012-10-21 22:45:41 -04:00
Corey Frang
8b76684a92
Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783
2012-10-21 16:46:57 -05:00
Jörn Zaefferer
78f781fccd
Tooltip: Unit test for nested tooltips
2012-10-21 13:25:36 -04:00
Jörn Zaefferer
132e9f0c72
Tooltip: Update events test to cover correct behaviour
2012-10-21 13:15:59 -04:00
Andrew Couch
0b3e59f149
Tooltip: Do not attempt to position if tooltip is hidden. Fixed #8644 - Delayed tooltips set to track should reposition when being shown for the first time.
2012-10-21 13:15:59 -04:00
Andrew Couch
3b2d1e7736
Tooltip: handle removal of elements with delegated tooltips. Fixed #8646 - Delegated tooltips don't close when the tooltipped element is removed
2012-10-21 13:15:44 -04:00
Jörn Zaefferer
6b48ef5eca
Tooltip: Only bind blur when opening via focus, mouseleave for mouseover. Remove the keep-open-on-focusout workaround. Now matching behaviour described in ARIA Authoring Practices. Fixes #8699 - Moving focus on click of a tooltipped element shows native tooltip in IE/Firefox on Windows
2012-10-21 12:50:12 -04:00
Jörn Zaefferer
77a55f1291
Tooltip: Fix nested tooltips (on hover) by closing parent tooltips and removing title attributes. Fixes #8700 - Overlapping tooltipped elements shows native tooltip for one of the elements
2012-10-21 12:49:32 -04:00
David Petersen
c2802d7aa0
Accordion: handle active: null. Fixes #8694 : 1.9 Accordion - active: null allows panels to be collapsible.
2012-10-18 00:08:37 -04:00
David Petersen
35dc9307fc
Dialog: Use _hide() to make sure close event gets triggered. Fixes #8684 - jQuery dialog with hide options does not trigger close event.
2012-10-17 20:28:27 -04:00
TJ VanToll
5e24a1ce4b
Button: Check for ui-state-disabled during refresh. Fixes #8237 - Button: Anchor tags cannot be disabled within buttonset.
2012-10-16 23:09:26 -04:00
Scott González
bd3a348776
Tooltip: Change the default items selector to exclude disabled elements. Fixes #8661 - Tooltip doesn't hide on disabled anchor element [IE only].
2012-10-12 20:26:47 -04:00
Felix Nagel
c59fbbaad7
Merge branch 'master' into selectmenu
2012-10-12 22:56:45 +02:00
Scott González
94221c4e5b
Tabs: Use aria-controls instead of the anchor's href to match against location.hash. Fixes #8660 - Tabs: Set initial active tab from location hash for ajax tabs.
2012-10-12 11:07:04 -04:00
Scott González
a3f1a34d3b
Remove use of $.browser; add $.ui.ie and $.ui.ie6 temporarily.
2012-10-10 11:45:48 -04:00
Scott González
0a31a82831
Tooltip: Better cleanup on destroy. Fixes #8627 - The Tooltip destroy method is not clearing up the data properties.
2012-10-05 12:52:02 -04:00
Scott González
96f2aa4c72
Tooltip: Check if event exists before checking properties in open(). Fixes #8626 - Programatically opening a tooltip with out giving an event results in a javascript error.
2012-10-05 11:26:49 -04:00
Felix Nagel
fc729a8c8e
Selectmenu: Upgrade jQuery to 1.8.2.
2012-10-03 22:43:03 +02:00
Felix Nagel
cca4e77a95
Merge branch 'master' into selectmenu
2012-10-03 22:37:03 +02:00
Scott González
2c50b1b8b5
Accordion: Only adjust height animations for heightStyle: content. Fix tests that punch .animate().
2012-10-01 16:52:54 -04:00
Scott González
a638acb583
Upgrade jQuery to 1.8.2.
2012-09-20 21:41:47 -04:00
Rafael Xavier de Souza
92e1e83eca
Tests: Fix padding from 4% to 2%, since width is 96%.
2012-09-19 16:33:46 -03:00
Scott González
7023ed4699
Tabs: Account for non-tab list items on init. Fixes #8568 - jQuery ui tabs: wrong default active li if ul contains extraneous elements.
2012-09-12 09:28:51 -04:00
Kris Borchers
e1fd8ea6b3
Tooltip tests: Fixed typo
2012-09-05 20:37:29 -05:00
Scott González
e162fddd95
Menu: Don't move focus from the active item on click. Fixes #8552 - selected value overwritten/not correctly set.
2012-09-05 16:07:36 -04:00
Felix Nagel
5e12c54be1
Selectmenu tests: Upgrade visual tests to jQuery to 1.8.0.
2012-09-04 12:17:04 +02:00
Scott González
e242868f56
Tooltip: Allow strings for content option.
2012-08-31 15:41:45 -04:00
Scott González
dee7c8bd44
Tooltip: Update open tooltips if the content option changes. Fixes #8544 - Unable to update tooltip content dynamically.
2012-08-31 15:38:21 -04:00
Felix Nagel
fb87e1c557
Selectmenu tests: Added test for widget() method.
2012-08-30 23:38:56 +02:00
Felix Nagel
daadc84416
Merge branch 'master' into selectmenu
2012-08-30 22:57:37 +02:00