Scott González
1f9821c000
Dialog: Remove animation stopping in destroy
...
Effects wrappers are no longer used, so the workaround and test are no
longer necessary.
This fixes tests in IE8 with jQuery 1.7.
Effectively a complete revert of 13505e5945
Closes gh-1481
2015-03-11 08:42:12 -04:00
Scott González
a6a18d1ed8
Dialog: Fix focus tests in IE8 with jQuery 1.7
...
Ref gh-1481
2015-03-11 08:42:04 -04:00
Scott González
08eb844552
Tests: Use jquery-git1 instead of jquery-git
...
Closes gh-1480
2015-03-11 08:39:31 -04:00
Jörn Zaefferer
ac2a1113bb
Tests: Fix missing wrapper in widget extend unit tests
2015-03-06 16:27:46 +01:00
Jörn Zaefferer
9a28197f89
Tests: Fix missing wrappers in progressbar tests
2015-03-06 16:27:46 +01:00
Ablay Keldibek
60c00cd4ec
Slider: Modified to allow value to reach max value with float step
...
Fixes #11286
Closes gh-1465
2015-03-05 13:16:54 -05:00
Scott González
af4c35df9d
Selectmenu: Support width: false
and default to 14em
...
`width: null` still matches the width of the original element.
`width: false` prevents an inline style from being set for the width. This
makes it easy to set the width via a stylesheet and allows the use of any
unit for setting the width, such as the new default of `14em`.
Fixes #11198
Closes gh-1467
2015-03-05 11:42:49 -05:00
Jörn Zaefferer
666f051c3a
Tests: Reduce timeouts to optimize testsuite runtime
2015-03-04 23:04:07 +01:00
Ben Mosher
19783fd3e6
Resizable: alsoResize more than one element of a jQuery selection
...
Fixes #4666
Closes gh-1324
Closes gh-1461
2015-03-04 08:51:06 -05:00
Patricia Juarez
18e301f4e2
Resizable: Modified to allow jquery objects as handles
...
Custom handlers did not work as jquery objects (outside the resizable element)
Fixes #9658
Closes gh-1445
2015-03-03 08:52:21 -05:00
Marco Ziech
c4e367bb31
Tooltip: Register event handlers before content is loaded
...
Fixes #8740
Closes gh-1053
Closes gh-1456
2015-02-25 15:35:49 -05:00
Nils Heuermann
962e05dc1d
Sortable: Append a tr with td to the placeholder of tbody elements
...
When sorting tbody elements of a table the placeholder needs to have a tr with
td elements to be visible. The appended elements are created in the same way
as for the placeholder of a tr element; the first row of the sorted tbody is
used for that.
Fixes #10682
Closes gh-1380
2015-02-24 09:36:12 -05:00
Scott González
8fdfea5fe9
Build: Upgrade to jQuery 1.11.2
...
Adds jQuery 1.11.0, 1.11.1, 1.11.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3
2015-02-23 14:01:03 -05:00
Mike Sherov
9493839f23
Resizable: correct width when grid approaches zero
...
Fixes #10590
2015-01-27 22:08:05 -05:00
Mike Sherov
337e4110b0
Resizable: Whitespace Cleanup
2015-01-27 22:07:32 -05:00
Jörn Zaefferer
2aabd427eb
Tests: Fix style issues with missing or multiple line breaks
...
As pointed out by jscs, after a esformatter run. The latter doesn't
address these, so fixing them manually.
2015-01-24 17:10:20 +01:00
Michael Orchard
ac49929b07
All: Remove 1.6.x leftovers
...
Removes 1.6 versions from "All" tests and from the TestSwarm job.
Ref #10723
Ref gh-1422
Closes gh-1434
Closes gh-1435
2015-01-22 13:29:47 +01:00
Jörn Zaefferer
0bbd156918
Menu: Use ui-state-active consistently
...
So far we were using ui-state-active on active parent items,
ui-state-focus on active child items. The theme update highlighted the
visual inconsistency. With this change, only ui-state-active is used.
Fixes #10692
2015-01-21 18:07:43 +01:00
Jörn Zaefferer
9d0f44fd7b
All: Drop support for jQuery 1.6.x
...
Affects core, effects, position and widget. Only position has unit tests
that fail with jQuery 1.6 without the workaround.
Drops the 1.6.x copies jQuery of jQuery and removes them from the select
in the testsuites.
Fixes #10723
Closes gh-1422
2015-01-13 15:05:54 +01:00
Scott González
65584c1640
Selectmenu: Better handling when there are no options
...
Fixes #10662
Closes gh-1370
Closes gh-1423
2015-01-12 13:00:38 -05:00
Daniel Owens
42099e4461
Tooltip: Accept HTMLElement and jQuery objects for the content option
...
Fixes #9278
Closes #983
Closes #1421
2015-01-12 18:37:57 +01:00
Jyoti Deka
ae1d6d5f90
Slider: Fix max calculation, when step is float
...
Fixes #10721
Closes gh-1398
2015-01-12 12:20:57 -05:00
Jörn Zaefferer
a3b43eeb58
Tests: Fix jQuery version references to match files in external/
2015-01-12 17:12:05 +01:00
Jörn Zaefferer
d3bb0f7bdb
Tests: Fix jquery reference in unit index file
2015-01-12 14:32:24 +01:00
Luke Page
0566e99457
DatePicker: increase date range so that tests still pass through 2015
2015-01-10 21:11:14 +00:00
Luke Page
c21700742b
DatePicker: Fix tests to have unique names
2015-01-10 21:09:18 +00:00
Thomas Meyer
4de983c6d5
Position: Add unit tests for bug 8710
...
Ref #8710
Closes gh-1071
2015-01-09 15:10:06 -05:00
Scott González
ab798cb464
Accordion: Set aria-expanded
when collapsing
...
Fixes #10703
Closes gh-1413
2015-01-05 16:50:27 -05:00
Mike Sherov
b6bec797d6
Effects: Rewrite
...
1. Introduces a set of helper methods to easily create and define new effects.
2. Uses clip animations and placeholders instead of wrappers for clip effects.
3. Ensures all animations are detectable as animated
Fixes #10599
Fixes #9477
Fixes #9257
Fixes #9066
Fixes #8867
Fixes #8671
Fixes #8505
Fixes #7885
Fixes #7041
Closes gh-1017
2014-12-10 16:58:38 -05:00
Scott González
347b2a5ecd
Widget: Fix typos
...
Closes gh-1386
2014-11-10 08:08:37 -05:00
Mike Sherov
d8077dc562
Draggable: Ensure parent is correct after dragging through sortable
...
Fixes #10669
2014-11-08 20:27:05 -05:00
Scott González
6a242ab4eb
Tabs: Suppress automatic activation when navigating with COMMAND
...
Fixes #9621
Closes gh-1383
2014-11-04 12:07:46 -05:00
Felix Nagel
979373983b
Selectmenu: Copy title attributes
...
Fixes #10435
Closes gh-1298
2014-11-04 08:40:15 -05:00
TJ VanToll
f656aebe3f
Sortable: Redetermine floating flag when recalculating positions
...
This addresses a bug where users initialize empty sortable lists are
add items dynamically. In this situation refresh() should recognize the
position and orientation of the new items.
Fixes #7498
Closes gh-1381
2014-11-04 08:15:26 -05:00
Felix Nagel
fb4124b7af
Selectmenu: Introduce _renderButtonItem() method
...
Fixes #10142
Closes gh-1299
2014-11-04 08:02:48 -05:00
Lisa Seacat DeLuca
2500bb39c2
Theme: Carat should be named caret
...
Fixes #10683
Closes gh-1382
2014-11-03 13:40:58 -05:00
TJ VanToll
e9643f6bfc
Selectmenu: Re-add wrappers to menu items
2014-10-25 10:10:38 -07:00
TJ VanToll
4ac7b1f679
Autocomplete: Re-add wrappers to menu items
2014-10-25 10:10:38 -07:00
TJ VanToll
de2ef2a585
Menu: Wrap menu items in a <div>
...
This avoids styling issues where ui-state-focus rules apply to submenus.
Fixes #10162
Closes gh-1342
2014-10-25 10:10:30 -07:00
TJ VanToll
3002d460de
Theme: Change default widget font-size to 1em
...
Fixes #10131
Closes gh-1374
2014-10-24 07:23:31 -07:00
TJ VanToll
42b896123c
Tests: Removing unused visual theme test
2014-10-24 07:19:19 -07:00
TJ VanToll
ae577ae108
Tests: Adding missing dependency
2014-10-24 07:17:49 -07:00
Scott González
6d7589351e
All: Drop support for IE7
...
Fixes #9838
Closes gh-1365
2014-10-21 09:06:58 -04:00
Scott González
faf87d9924
Core: Remove .zIndex()
...
Fixes #9156
2014-10-20 19:29:35 -04:00
Scott González
89ed68fb05
Core: Removed .focus( delay )
...
Fixes #9649
2014-10-20 19:26:01 -04:00
Scott González
b2a477f1bf
Dialog: Remove leftover backcompat flag in tests
2014-10-20 19:07:43 -04:00
Scott González
8825d93dc8
Tooltip: Properly track hiding and closing for delegated tooltips
...
Fixes #10602
Closes gh-1353
2014-10-09 10:40:58 -04:00
Jyoti Deka
6833a31697
Slider: Don't allow a slider's value to exceed its max
...
Fixes #9376
Closes gh-1016
2014-10-08 09:04:41 -04:00
Scott González
d85016abf0
Datepicker: Fix test for French locale
...
Ref #10651
2014-10-07 11:21:04 -04:00
Trisha Crowley
c48b18b388
Menu: Typeahead now accounts for leading whitespace
...
Fixes #10649
Closes gh-1356
2014-10-07 07:45:01 -04:00
TJ VanToll
6b6b49f678
Menu: Maintain focus on already selected item during typeahead
...
Fixes #10644
Closes gh-1354
2014-10-03 09:30:49 -04:00
Simen Bekkhus
e3e5a9ffa6
Menu: Filter out non-items when typing
...
Fixes #10571
Closes gh-1329
2014-09-29 14:36:46 -04:00
Mike Sherov
d8a79a5e0e
Effects tests: Add clip visual test
...
Closes gh-1338
2014-09-03 14:46:52 -04:00
Scott González
be3b2b2d8b
Tests: Cleanup
2014-09-03 08:37:51 -04:00
Mike Sherov
7f82fffbe9
Effects Tests: Add shake visual test
...
Closes gh-1328
2014-09-02 19:24:48 -04:00
Mike Sherov
6c4367b45e
Effects Tests: Fix and format scale visual test
2014-09-02 19:24:18 -04:00
Alexander Schmitz
304c00d0e8
Widget: modify this.window test to support IE8 window equality quirk
...
Comparing this.window with strict equality fails in IE8
2014-08-27 19:33:38 -04:00
Alexander Schmitz
1abf9fc71f
Widget: Ensure window and document are defined in _getCreateOptions()
...
Closes gh-1320
2014-08-27 09:08:01 -04:00
Mike Sherov
bfb65076e4
Draggable: Add battery of tests to cover connectToSortable
...
Refs #9481
Refs #9675
Closes gh-1323
2014-08-26 10:05:45 -04:00
Mike Sherov
52a1de5caa
Sortable: cancelHelperRemoval only considers helper, not placeholder
...
Refs #9675
2014-08-26 09:52:00 -04:00
Mike Sherov
c7bec85cfa
Draggable: append divs to iframe parent for iframefix
...
This allows the blocking div to move with the iframe in
most situations, whereas appending to the body wouldn't.
Fixes #9671
2014-08-24 07:19:38 -04:00
Mike Sherov
df7e32fe37
Draggable: Check all parents for fixed positioning when scrolling
...
Fixes #9612
2014-08-23 15:34:04 -04:00
Mike Sherov
95546c5d04
Draggable: No cloning in connectToSortable and ensure correct position
...
Draggables now forcefully recalculate their position when dragged out
of a sortable. Sortables now override draggable position when a
draggable is dragged into it. Lastly, no longer remove sortable helper
when dragging a draggable out, which allows us to not use a clone.
Fixes #7734
Fixes #8809
Closes gh-1322
2014-08-23 15:08:54 -04:00
Dave Stein
49c3fb7403
Draggable Tests: Ensure scrolling and dragging tests assert correctly
2014-08-22 17:19:09 -04:00
Mike Sherov
aa425ab95d
Build: Pull in jquery.simulate.js from Bower
...
Fixes #10563
2014-08-22 17:01:50 -04:00
Mike Sherov
cedf91c0a9
Draggable Tests: Fix failures due to fractional widths
2014-08-20 21:10:33 -04:00
Mike Sherov
e12e3e12b1
Mouse: Only detect out of document mouseups after a mousemove
...
This prevents the firing of mouseup in the case of IE<9, which will
fire a mousemove event if content is placed under the cursor on
mousedown.
Fixes #7778
2014-08-20 11:19:36 -04:00
Mike Sherov
451dded230
Draggable: Ensure helper is positioned even if its the element itself
...
Fixes #9446
2014-08-19 15:15:21 -04:00
Uri Gilad
8eca7b8f45
Draggable: Set explicit width/height instead of right/bottom css.
...
Fixes #7772
2014-08-18 15:30:54 -04:00
Mike Sherov
48ea2aadad
Draggable: Ensure overflow:visible containments are correctly measured
...
Fixes #7016
2014-08-17 14:38:05 -04:00
Mike Sherov
d10440fe44
Draggable: Only focus the draggable if the event occurs on a handle
...
Refs #10527
2014-08-17 14:13:20 -04:00
Mike Sherov
b5846bece3
Draggable: Recalculate hash offset on start after plugins run
...
Fixes #6884
2014-08-16 21:27:16 -04:00
Mike Sherov
01e26b0f53
Draggable Tests: Clarify position helper test generation
2014-08-14 21:03:18 -04:00
Mike Sherov
2d03839c07
Draggable: Account for margins when snapping
...
Fixes #9724
2014-08-14 09:50:02 -04:00
Mike Sherov
ba5a60efa1
Resizable Tests: fix IE8 test fail due to unspecified border style
...
IE <9 does not correctly set the height of an element if the borderWidth
is non-zero but no borderStyle is specified.
2014-08-13 23:06:21 -04:00
Mike Sherov
9acb4797fa
Draggable Tests: Fix IE8 test when native scroll happens
2014-08-13 22:26:04 -04:00
Andrei Picus
1cfebf803b
Sortable: fire "over" and "out" even when a connectWith hasn't changed
...
Fixes #9335
2014-08-13 20:27:26 -04:00
Mike Sherov
4dad6bb99d
Droppable: Account for draggable margins when detecting hover
...
Fixes #6876
2014-08-13 19:36:07 -04:00
Mike Sherov
bbf9ea0942
Draggable: ignore overflow:hidden containers with scroll option
...
While it is true that overflow:hidden elements can be scrolled
programatically, this breaks user expectation. Therefore, do not
scroll inside an overflow:hidden container.
2014-08-12 19:30:09 -04:00
Mike Sherov
e9efbc2221
Draggable: consider offsets from overflow:hidden parents
...
Developers can programmatically set scrollTop/Left on
draggable containers that are overflow:hidden. They must
be considered for positioning.
Fixes #10147
2014-08-12 19:30:09 -04:00
Mike Sherov
2ac0769967
Draggable Tests: Fix several whitespace issues.
2014-08-12 19:30:09 -04:00
Will Holley
87081b855c
Droppable: only consider pointer location with tolerance "pointer"
...
Fixes #4977
Closes gh-991
2014-08-10 21:00:33 -04:00
Mike Sherov
d434fdbcc2
Droppable Tests: fix whitespace in droppable_options
2014-08-10 20:46:27 -04:00
Mike Sherov
454b58ee66
Droppable tests: swap $.ui.intersect test with tolerance test
...
$.ui.intersect is not a documented API, yet droppable tolerance is,
and are essentially the same.
2014-08-10 20:41:23 -04:00
Mike Sherov
df2f7555b4
Draggable Tests: Fix inconsistent operator spacing.
2014-08-06 19:43:13 -04:00
Scott González
32bef7ad4e
Tooltip: Treat the tooltip as closing until it's fully removed
...
This ensures that we don't trigger the close event twice if the tooltip is
destroyed during the hide animation.
Closes gh-1306
2014-08-06 15:01:58 -04:00
Mike Sherov
7c8790dcc8
Resizable: account for padding & border in grids.
...
Fixes #10437
2014-08-05 14:16:11 -04:00
Jyoti Deka
750a8fd0c2
Resizable: Fix containment width with relative parent.
...
Refs #10140
Closes gh-1303
2014-08-04 10:04:50 -04:00
Mike Sherov
2779212a0e
Resizable: Fix containment calculation with relative parent
...
Remove an incorrect fix introduced in 47cd5b6f
that causes
width calculations to be incorrect once the correct fix
was introduced in c03cb807
Fixes #10140
2014-08-04 08:18:35 -04:00
Scott González
5ddc7cd4d3
Tests: Whitespace
2014-08-01 13:30:45 -04:00
Scott González
c017628e11
Tests: Fix composite tests
2014-08-01 12:25:14 -04:00
Scott González
06fe70b10a
Core: Ensure forms in tests have some actual content
...
Empty forms have no height, so they're considered hidden in jquery-git as of
jquery/jquery@10399ddcf8
2014-07-30 10:16:29 -04:00
Scott González
9895cb58b4
Core: Clean up selector tests
2014-07-30 09:45:00 -04:00
Scott González
4ad45991e6
Selectmenu: Remove unused var in test
2014-07-29 15:18:46 -04:00
Scott González
64faf2da0a
Selectmenu: Don't check menu width in width option tests
2014-07-29 15:02:36 -04:00
Scott González
45e13ed208
Selectmenu: Properly set width for button
...
Fixes #10145
Closes gh-1296
2014-07-29 13:17:30 -04:00
Yermo Lamers
930bc7df66
Autocomplete: ESCAPE should not change content of a MultiLine
...
Fixes #9790
Closes gh-1190
2014-07-24 17:00:55 -04:00
Scott González
5beae72e77
Resizable: Fix size/position changes in resize event
...
Fixes #10351
Closes gh-1292
2014-07-24 16:21:51 -04:00
TJ VanToll
3ca32b2ad8
Draggable: Manage ui-draggable-handle correctly in nested instances
2014-07-15 15:49:15 -04:00
TJ VanToll
7594a31425
Draggable: Only apply ui-draggable-handle within the draggable instance
...
Fixes #10212
Closes gh-1284
2014-07-15 15:49:00 -04:00