Commit Graph

1542 Commits

Author SHA1 Message Date
Jyoti Deka
b32bc7ac43 Slider: Add missing unit test cases for values method
Closes gh-1573

(cherry picked from commit 4c5cd2018d)
2016-06-09 16:28:13 -04:00
Scott González
1ca46175d5 Tests: Update domEqual() to work with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516

(cherry picked from commit e4363ab82d)
2016-06-09 13:14:13 -04:00
Ablay Keldibek
f2e8471f35 Slider: Fix handle order when setting values of range slider to max
When both values are set to the maximum change them in descending order

Fixes #9046
Closes gh-1502

(cherry picked from commit dff1c74dd4)
2016-06-09 12:36:10 -04:00
Ablay Keldibek
d86df4b697 Slider: Verify value constraint with a max that is a step mismatch
Ref #10078
Closes gh-1485

(cherry picked from commit 21831f5036)
2016-06-09 12:08:29 -04:00
Scott González
b2aa641c04 Accordion: Fix tests in IE 11 with jQuery 1.7-1.8
Closes gh-1482

(cherry picked from commit 8ea36f5e0c)
2016-06-09 12:07:27 -04:00
Scott González
82d4e60459 Dialog: Fix focus tests in IE8 with jQuery 1.7
Ref gh-1481

(cherry picked from commit a6a18d1ed8)
2016-06-09 12:06:26 -04:00
Marco Ziech
88291ffc4d Tooltip: Register event handlers before content is loaded
Fixes #8740
Closes gh-1053
Closes gh-1456
(cherry picked from commit c4e367bb31)
2015-03-10 12:39:33 -04:00
Nils Heuermann
ddc1b32a45 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
(cherry picked from commit 962e05dc1d)
2015-03-10 12:26:15 -04:00
Ablay Keldibek
0f99e9c969 Slider: Modified to allow value to reach max value with float step
Fixes #11286
Closes gh-1465
(cherry picked from commit 60c00cd4ec)
2015-03-10 12:25:12 -04:00
Ben Mosher
31e7099709 Resizable: alsoResize more than one element of a jQuery selection
Fixes #4666
Closes gh-1324
Closes gh-1461
(cherry picked from commit 19783fd3e6)
2015-03-10 12:25:00 -04:00
Patricia Juarez
65f31c2ead 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
(cherry picked from commit 18e301f4e2)
2015-03-10 12:23:56 -04:00
Mike Sherov
b3710631e8 Draggable: Ensure parent is correct after dragging through sortable
Fixes #10669
(cherry picked from commit d8077dc562)
2015-03-10 11:59:22 -04:00
TJ VanToll
189f1d476c 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
(cherry picked from commit f656aebe3f)
2015-03-10 11:59:14 -04:00
Mike Sherov
0a0db09378 Resizable: correct width when grid approaches zero
Fixes #10590
(cherry picked from commit 9493839f23)
2015-02-09 12:06:02 -05:00
Mike Sherov
105f4a5cb0 Resizable: Whitespace Cleanup
(cherry picked from commit 337e4110b0)
2015-02-09 12:05:56 -05:00
Jyoti Deka
dfa3a9f8c9 Slider: Fix max calculation, when step is float
Fixes #10721
Closes gh-1398
(cherry picked from commit ae1d6d5f90)
2015-02-09 11:59:38 -05:00
Jörn Zaefferer
fcb26aaded Tests: Fix jQuery version references to match files in external/
(cherry picked from commit a3b43eeb58)
2015-02-09 11:59:15 -05:00
Jörn Zaefferer
66b31b3e62 Tests: Fix jquery reference in unit index file
(cherry picked from commit d3bb0f7bdb)
2015-02-09 11:59:11 -05:00
Luke Page
76ebe0882b DatePicker: increase date range so that tests still pass through 2015
(cherry picked from commit 0566e99457)
2015-02-09 11:58:47 -05:00
Luke Page
ad121b28cd DatePicker: Fix tests to have unique names
(cherry picked from commit c21700742b)
2015-02-09 11:58:40 -05:00
Thomas Meyer
9db405798d Position: Add unit tests for bug 8710
Ref #8710
Closes gh-1071
(cherry picked from commit 4de983c6d5)
2015-02-09 11:57:15 -05:00
Scott González
dc2b17d62f Accordion: Set aria-expanded when collapsing
Fixes #10703
Closes gh-1413
(cherry picked from commit ab798cb464)
2015-02-09 11:56:15 -05:00
Scott González
28ab47ca6c Widget: Fix typos
Closes gh-1386
(cherry picked from commit 347b2a5ecd)
2015-02-09 11:50:48 -05:00
Scott González
9dd1e733f3 Tabs: Suppress automatic activation when navigating with COMMAND
Fixes #9621
Closes gh-1383
(cherry picked from commit 6a242ab4eb)
2015-02-09 11:50:05 -05:00
Scott González
7b4d70635c Dialog: Remove leftover backcompat flag in tests
(cherry picked from commit b2a477f1bf)
2015-02-05 08:57:29 -05: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
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