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