Commit Graph

1899 Commits

Author SHA1 Message Date
Scott González
500f6b4992 Tests: Switch to the new qunit-composite module
This module was created from our existing implementation.

Closes gh-1532
2015-04-07 09:03:36 -04:00
Scott González
c42a07a2e3 All: Standard spacing inside selector strings
Closes gh-1521
2015-03-26 07:47:17 -04:00
Scott González
899d90709a Tests: Handle jQuery git returning null for empty attributes
jQuery now returns `null` for empty attributes instead of `undefined`.

Closes gh-1516
2015-03-25 15:55:53 -04:00
Scott González
e4363ab82d Tests: Update domEqual() to work with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516
2015-03-25 15:55:12 -04:00
Ablay Keldibek
dff1c74dd4 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
2015-03-18 10:49:01 -04:00
Ablay Keldibek
6111b17710 Slider: Pass handle index to events
Added a `handleIndex` property to the event data which indicates the index of
the handle being changed.

Fixes #7630
Closes gh-1486
2015-03-12 07:29:50 -04:00
Ablay Keldibek
21831f5036 Slider: Verify value constraint with a max that is a step mismatch
Ref #10078
Closes gh-1485
2015-03-12 07:21:36 -04:00
Alexander Schmitz
61232cb745 Widget: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:41 -04:00
Alexander Schmitz
7b01dc3d2c Tooltip: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:41 -04:00
Alexander Schmitz
b88a821070 Tabs: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:41 -04:00
Alexander Schmitz
f7645783bf Spinner: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
8f26f0ad1a Sortable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
cba7fd5466 Slider: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
8eb29fd90c Selectmenu: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
9af91bcfa9 Selectable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
5b359d0e10 Resizable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
3b85fd240e Progressbar: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
144826d175 Menu: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:40 -04:00
Alexander Schmitz
53d1bc2ce1 Effects: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
15a9ed7708 Droppable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
2d5857ca9e Draggable: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
a9fa490418 Dialog: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
415675eca1 Button: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
0f370b3e35 Autocomplete: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:39 -04:00
Alexander Schmitz
66001a2f28 Accordion: Use new has/lacksClasses assertions for all class checks 2015-03-11 16:05:38 -04:00
Alexander Schmitz
9d71547394 Tooltip: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:33 -04:00
Alexander Schmitz
aaddfbfa8b Tabs: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:28 -04:00
Alexander Schmitz
28dccda377 Spinner: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:23 -04:00
Alexander Schmitz
491bb9c7f4 Slider: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:12 -04:00
Alexander Schmitz
3483486a15 Selectmenu: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:07 -04:00
Alexander Schmitz
2665aa0146 Resizable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:56 -04:00
Alexander Schmitz
ea35ded6ed Progressbar: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:48 -04:00
Alexander Schmitz
2ebef69efe Menu: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:42 -04:00
Alexander Schmitz
f58277a521 Droppable: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:34 -04:00
Alexander Schmitz
6f4884f6f5 Dialog: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:04:11 -04:00
Alexander Schmitz
cff1fb2a13 Autocomplete: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:02:12 -04:00
Alexander Schmitz
7c6a7d71e9 Accordion: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:01:44 -04:00
Alexander Schmitz
c192d4086d Widget: Add classes option and _add/_remove/_toggleClass methods
Fixes #7053
Closes gh-1411
2015-03-11 16:00:04 -04:00
Scott González
8ea36f5e0c Accordion: Fix tests in IE 11 with jQuery 1.7-1.8
Closes gh-1482
2015-03-11 08:43:17 -04:00
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
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
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
Rodrigo Menezes
5730374238 Datepicker: reject dates with two year digits when expecting 'yy'
Fixes #8353
Closes gh-1248
2014-07-14 09:34:33 -04:00
Scott González
15baf024c3 Slider: Reset positioning when orientation changes
Fixes #10105
Closes gh-1268
2014-07-02 17:17:05 -04:00
TJ VanToll
c29b4434b6 Tests: Use closeEnough() to account for rounding differences
Selectmenu's test suite broke with b0e8380, which changed the padding
used by the menu widget. Selectmenu conditionally adds pixels to the
menu's width, and using closeEnough() accounts for that and the
rounding differences across browsers.

Closes gh-1275
2014-06-25 12:16:29 -04:00
Scott González
6df127a0b5 Build: Reorganize external directory
Put each external library into its own directory.
Move jquery.js to external.

Ref gh-1266
2014-06-24 22:45:32 -04:00
Jörn Zaefferer
226cc3e9e5 Dialog: Honor preventDefault when managing focus
If event.isDefaultPrevented() is true, the focus management is
completely skipped, assuming the user manages focus manually.

Fixes #10103
Closes gh-1265
2014-06-10 13:59:45 +02:00
Jörn Zaefferer
a0b84767a7 Dialog: Fix shift-tab handling, focus the correct element
Copy-paste error introduced in df6110c0d4

Updates the tabbing test to be more specific about which element should
have focus, instead of only checking if focus is within the dialog.

Ref #9646
Ref #10103
Closes gh-1264
2014-06-10 13:54:58 +02:00
David Petersen
796a8b37e2 Spinner: Don't change value when changing min/max options
Fixes #9703
Closes gh-1252
2014-05-26 11:31:31 -05:00
David Petersen
f5e8041ebf Tabs: Move aria-expanded from active panel to active tab
Fixes #9622
Closes gh-1251
2014-05-19 11:36:21 -04:00
TJ VanToll
48001a8c46 Autocomplete: Search if the user retypes the same value
Fixes #7434
Closes gh-1238
2014-05-12 13:37:13 -04: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
0c754f9d9e Selectmenu: Refactor appendTo option tests 2014-02-21 13:40:32 +01:00
Jörn Zaefferer
fa99e23d18 Selectmenu: Fall back to .ui-front searching for empty jQuery objects
Fixes #9757
2014-02-21 13:35:34 +01:00
Jörn Zaefferer
8a71d0f129 Autocomplete: Fix assertion message in appendTo option test 2014-02-21 13:35:04 +01:00
Jörn Zaefferer
122b913743 Dialog: Work around subpixel issues in dialog resizable test
Switching to checking the size of the content element. We should be
checking the dimensions of the .ui-dialog element, but that currently
fails in Chromium-based browsers. Once we start using box-sizing:
border-box, we should try to revert this change.

Ref #9845
2014-02-20 17:54:48 +01:00
Jörn Zaefferer
822f3cd9d0 Tests: Update to sane QUnit markup 2014-02-20 17:05:02 +01:00
Mike Sherov
dc1e63b432 Draggable Tests: fix IE scroll tests affected by focus issues.
Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior,
we must calculate scrollTop on the drag event, before .focus is called.
2014-02-18 12:48:06 -05:00
Mike Sherov
f1025298cc Draggable Tests: fix IE offset tests affected by focus issues.
Calling element.focus() causes scroll in IE. In order to correctly test scroll behavior,
we must rely on the actual calculated offset instead of the helper offset to ensure
cross browser test consistency.
2014-02-18 12:48:06 -05:00
Mike Sherov
7017805745 Draggable: fix current JSCS violations. 2014-02-18 12:48:06 -05:00
Scott González
cf85f6726b Tests: Use .bind() instead of .on() 2014-02-11 11:54:55 -08:00
Brian J. Dowling
9660b43c01 Tests: Fix andenable a couple of unit tests: dialog, tooltip, draggable
Some unit tests were disabled in phantomjs. Dialog and draggable
depended on a larger viewPort. Tooltip just worked, that was reenabled
as well.

Closes gh-1173
2014-02-11 19:47:29 +01:00
Yermo
605a20ef06 Autocomplete: Do not set value on multi-line input
This fixes an issue where contenteditable text was getting overwritten when
wrapping past the bottom or top of the autocomplete menu.

Fixes #9771
Closes gh-1184
2014-01-28 12:35:16 -05:00
TJ VanToll
ccb13240dd Button: Ignore non-radio elements with the same name
Fixes #8761
Closes gh-1185
2014-01-28 10:58:30 -05:00
Rafael Xavier de Souza
21154cfa2e All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;

Fixes #9464
Closes gh-1029
2014-01-24 18:22:49 -02:00
Scott González
2651f4571e Tests: Add link to selectmenu in unit index 2014-01-24 13:53:59 -05:00
Scott González
c49b9f2abb Test: Whitespace 2014-01-24 10:21:50 -05:00
Scott González
113e9d0c2c Autocomplete: Normalize falsy values, not just missing values
Fixes #9762
2014-01-22 10:40:19 -05:00
Scott González
2ef1b16e4d Autocomplete: Fall back to .ui-front searching for empty jQuery objects
Fixes #9755
2014-01-20 16:20:11 -05:00
Ben Higgins
0bb807bb42 Draggable: fix changing containment
If containment was set such that relative_container is set by
_setContainment, and then containment changes to e.g. "document",
"window", or an array, relative_container would not be unset, causing
incorrect containment of the draggable.

Add a unittest to check that containment with an array works after
previously being set to "parent".

Fixes #9733
Closes gh-1176
2014-01-20 13:08:12 -05:00
Andrei Picus
998d04d55d Tests: sortable: fix assert message.
Changed 'stop' to 'over'.

Closes gh-1174
2014-01-20 09:42:14 -05:00
Brian J. Dowling
f4423f508e Tests: Fix draggable_options expected test count to be dynamic
The test count was previously incremented to 8 when normally 6 tests
are run.  After figuring out the dynamic test code, I just made the
expect depend on the same array length

Also re-enabled the test in the Gruntfile since it now passes.
2014-01-16 21:25:28 +00:00
Ruslan Yakhyaev
be2a339b2b Widget: Support events with dashes and colons
Fixes #9708
Closes gh-1159
2014-01-16 12:12:04 -05:00
TJ VanToll
28310ff55f Slider & Interactions: Add Windows 8 touch support
Fixes #9709
Fixes #9710
Closes gh-1152
2014-01-15 15:38:10 -05:00
Thomas Meyer
1bbbcc723c Position: Avoid reading overflow css on documents
Fixes #9533
Closes gh-1072
2014-01-15 05:17:50 -05:00
Kris Borchers
20c1648f68 Resizable: Only resize/reposition if size is greater than specified grid
Fixes #9611
Closes gh-1132
2014-01-15 04:37:32 -05:00
Andrei Picus
23c7d367b1 Sortable: Cleanup
Closes gh-1168
Closes gh-1169
2014-01-15 04:10:10 -05:00
Dylan Barrell
0b28d597fe Autocomplete: Announce autocomplete correctly in all ATs.
Fixes #9631
Closes gh-1153
2014-01-14 11:09:49 +01:00
Michael Wiencek
0dc84db853 Tooltip: Preserve the title after disabling twice
Fixes #9719
Closes gh-1154
2014-01-09 20:38:08 +01:00
Andrei Picus
0a01200138 Tests: Fix grammar error in comment
Changed it's to its.

Closes gh-1164
2014-01-08 11:43:59 -05:00
Jörn Zaefferer
5cf4456aaf Tooltip: Lowercase test html for IE7/8 compat 2014-01-06 16:33:33 +01:00
Daniel DeGroff
af85dfcafb Tooltip: On close and destroy only set title if empty or undefined
Ticket #8925 states that changes to the title attribute while the
tooltip is open are lost on tooltip close.

In the close and destroy functions, the title attribute is always
written if a value was stored in the element on open. It is possible
the attribute has changed and restoring the initial value may overwrite
the current value.

If the value is empty or undefined as set in open, do not set the title
attribute.

This fix has the limitation that if the user removed the title
attribute or set the value to an empty string the original title value
would be restored on close and destroy.

Fixes #8925
2014-01-06 16:10:02 +01:00
Dylan Barrell
b9e438d07c Tooltip: Improve accessibility by adding content to an aria-live div
Fixes #9610
Closes gh-1118
2013-12-19 10:36:30 -05:00
Felix Nagel
0cc8554077 Selectmenu Tests: add unit tests for empty options 2013-12-18 19:05:17 +01:00
Jyoti Deka
20f064662a Resizable: containment plugin restricts resizing within container
Fixes #7018
Fixes #9107
Closes gh-1122
2013-12-15 12:57:29 -05:00
Jyoti Deka
c03cb8079c Resizable: containment now works with non - immediate children
Fixes #7485
Closes gh-1130
2013-12-15 12:29:55 -05:00
Dave Stein
38c6cf1382 Draggable: Test fix regarding static scrolling
No longer checking scroll positions of static scrolls since the fixture is
in an absolute container.

Closes gh-1145
2013-12-15 09:38:46 -05:00
Mike Sherov
f4839f73a7 Draggable Unit Tests: Ensure IFRAMEs can be written to
Draggable tests were failing in IE because the frame needs to be
written to to be accessible to further DOM manipulation.
2013-12-14 17:38:33 -05:00
Jyoti Deka
ec5f395260 Resizable: modified to allow resizing when resizables are nested.
Fixes #5025
Closes gh-1149
2013-12-14 16:08:44 -05:00
Felix Nagel
1656cd2f34 Selectmenu Tests: add unit and visual tests for width option 2013-12-07 19:10:50 +01:00
Jörn Zaefferer
fe7c300374 Menu: Remove click binding that was supposed to prevent default on anchor clicks on a disabled menu. Not relevant anymore since we removed the anchors. Partial fix for #8802 - Dev: Track down uses of .bind() inside widgets 2013-12-03 21:54:08 +01:00
Scott González
5494bc9b2e Datepicker test: Ignore flaky test in IE in TestSwarm. 2013-12-03 11:52:11 -05:00
Scott González
72f29a111a Datepicker test: Attempt to work around an intermittent issue in IE when run through TestSwarm. 2013-12-03 11:38:17 -05:00
Scott González
acd2e1391f Datepicker test: Attempt to work around an issue in IE9 in TestSwarm. 2013-12-03 11:27:41 -05:00
Scott González
25f16855ba Menu tests: Fix line height issue in IE7 2013-12-03 10:47:01 -05:00
Mike Sherov
44b2180782 Draggable: normalize lookups for rootNodes when to bust scroll cache. Fixes #9379 - Draggable: position bug in scrollable div
Core: update scrollParent() to support all current supported browsers.
2013-12-03 10:08:12 -05:00
TJ VanToll
77bf202e58 Merge branch 'selectmenu' 2013-11-27 13:49:47 -05:00
Jörn Zaefferer
6d7a61478f Datepicker tests: Allow IE7 to return an absolute URL in the .attr('src') call 2013-11-25 16:25:39 +01:00
Jörn Zaefferer
63026bd2c7 Button unit tests: Make sure the test timeout runs after the formResetHandler. Fixes unit tests in IE7. 2013-11-25 15:53:51 +01:00
Jörn Zaefferer
9a5f20bc7d Merge branch 'master' into selectmenu 2013-11-25 14:29:30 +01:00
Scott González
8eeb0e7d88 Tests: Skip JSHint in browsers that don't support Function.prototype.bind() to work around a bug in JSHint. 2013-11-22 11:43:55 -05:00
Scott González
6a74bf9929 Menu tests: Force line height to ensure we know how many items will be scrolled. 2013-11-20 11:14:27 -05:00
Jörn Zaefferer
1096f19f37 Dialog: Keep track of instances to focus when elements outside the dialog get focus. Works with inheritance. Adds tests for both. Fixes #9241 - Dialog: UI dialog inheritance causes undefined property '_focusTabbable' in IE9 2013-11-20 16:04:13 +01:00
Jörn Zaefferer
43772f3e5b Merge branch 'master' into selectmenu 2013-11-16 12:25:21 +01:00
Jörn Zaefferer
3945a8f074 Menu: Update unit test that regressed from style changes (see 9910e938aa) 2013-11-15 12:51:10 +01:00
Jörn Zaefferer
0e5a2e126a Dialog: Restore focus to the previously focused element when window regains focus. Fixes #9101 - Dialog: Track last focused element instead of always focusing the first tabbable element 2013-11-15 08:16:24 +01:00
Scott González
ce5539f368 Dialog tests: Work around focus issue in IE8. 2013-11-14 10:32:09 -05:00
Scott González
144268a2eb Dialog test: Ensure dialog is tall enough to be scrolled. 2013-11-14 10:10:42 -05:00
Felix Nagel
ab2219b6ac Merge branch 'master' into selectmenu 2013-11-13 19:45:56 +01:00
Kris Borchers
601ad962e0 Sortable: Adjust itemWithLeastDistance algorithm in _contactContainers to properly handle dragging items to the beginning and ends of lists. Fixes #9314 - Sortable: Items cannot be dragged directly into bottom position. Fixes #9381 - Sortable: Connected list placeholders have an inaccurate initial position 2013-11-01 15:17:05 -05:00
Mike Sherov
1f724adb15 Draggable Tests: don't test auto scroll while testing helpers. 2013-10-31 21:41:45 -04:00
Felix Nagel
027d8d4cab Selectmenu: close menu on other element mousedown not on click 2013-10-29 20:54:16 +01:00
Andrei Picus
ffab89e9be Droppable: update ddmanager when scope changes through setOption. Fixed #9287 - droppable: Scope option cannot be changed after initialization. 2013-10-29 13:58:15 -04:00
Mike Sherov
a3715a7c91 Draggable Tests: Ensure all combinations of helper / draggable positions / scrollParents / parent positions are tested accurately. 2013-10-29 13:25:57 -04:00
Monika Piotrowicz
f16d0c7e26 Accordion: moving aria-expanded from active tabpanel to active tab. Fixed #9407 - Accordion: aria-expanded attribute on wrong element 2013-10-28 10:32:25 -04:00
Scott González
ecd4f95a50 Tabs: Use .uniqueId() for panels and moved isLocal() into the widget prototype. 2013-10-24 09:19:42 -04:00
Felix Nagel
480e89b1aa Selectmenu Tests: remove widthMenu option and rename widthButton option to width 2013-10-24 00:17:22 +02:00
Mike Sherov
dbbf3a9611 Draggable Tests: Ensure Draggable tests are correctly testing offset under scroll conditions. 2013-10-23 12:22:06 -04:00
Felix Nagel
fab6b8883e Merge branch 'master' into selectmenu 2013-10-21 20:33:49 +02:00
Mike Sherov
fdc7052fdb Draggable Tests: Test both position and offset of draggable element in all applicable tests. 2013-10-21 11:20:03 -04:00
Mike Sherov
94f8c4d5e9 Draggable: apply axis options to position instead of style. Fixes #7251 - Draggable: constrained axis option returns incorrect position. 2013-10-20 19:46:05 -04:00
Mike Sherov
9ca0a19a00 Draggable Tests: Fix lint error. 2013-10-20 15:34:59 -04:00
Mike Sherov
b8795e15d6 Draggable Tests: Add position asserts to drag tests
They're currently disabled however due to bugs both
in the tests and in the actual widget.
2013-10-20 15:31:47 -04:00
Mike Sherov
c9b0e28d8d Draggable Tests: consolidate drag tests and provide error messages for all assertions. 2013-10-20 09:35:12 -04:00
Mike Sherov
0144b270c8 Draggable Tests: clarify scroll helpers. 2013-10-20 08:37:34 -04:00
Mike Sherov
82edd58743 Draggable Tests: make sure offset tests are actually testing offsets 2013-10-19 18:53:00 -04:00
Mike Sherov
67fd40eda7 Tests: extract TestHelpers.forceScrollableWindow for tests that need the window to scroll 2013-10-19 18:48:04 -04:00
Kris Borchers
52307ebadb Menu: More precise removal of ui-state-active class for easier CSS overrides. Fixes #9532 - Need a way in Menu to keep ui-state-active class on selected item 2013-10-18 22:14:49 -05:00
Kris Borchers
14065dc23b Resizable: Store size based on calculated helper size to prevent 1 pixel shifts. Fixes #9547 - Resizable: off-by-one pixel dimensions with helper and grid 2013-10-18 22:12:46 -05:00
Jörn Zaefferer
7b9c810b9a Autocomplete: Append liveRegion to body to support detached init. Fixes #9590 - Dynamically adding input field breaks auto-complete's accessibility for screen readers 2013-10-19 00:27:51 +02:00
Jyoti Deka
ecde7cd41a Widget: option-method should work as getter only when argument length is 1. Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter 2013-10-16 22:22:28 +02:00
Felix Nagel
7af3dab075 Selectmenu: Remove links in menu items 2013-10-10 01:01:41 +02:00
Felix Nagel
e26e0df3af Merge branch 'master' into selectmenu 2013-10-10 00:08:49 +02:00
Kris Borchers
9620812986 Autocomplete tests: Update tests now that generated menu doesn't have anchors in elements 2013-10-05 22:19:57 -05:00
Kris Borchers
31e705ab32 Menu: Add items option for better definition of menu items in non parent-child structures 2013-10-05 21:52:31 -05:00
Kris Borchers
3a61627a50 Menu: Remove the requirement to use anchors in menu items 2013-10-05 21:52:30 -05:00
Jörn Zaefferer
e263ebda99 Dialog: Switch back to shuffling z-index, but only look at .ui-front siblings.
Fixes #9166 - Dialog: moveToTop implementation resets flash/video/iframe/scroll
Fixes #9364 - Dialog: Click of element with tooltip scrolls the dialog to the top
2013-10-02 17:02:28 +02:00
Felix Nagel
f8377ed5af Selectmenu Tests: add width options to common test 2013-09-29 15:41:47 +02:00
Felix Nagel
de4e863552 Merge branch 'selectmenu' of github.com:jquery/jquery-ui into selectmenu 2013-09-25 21:18:57 +02:00
Jörn Zaefferer
9ef09edc79 Build: Remove the build task and it's dependencies. Will bring back testing against minified files later. 2013-09-20 18:27:07 +02:00
Kris Borchers
485e0a0612 Menu: Only focus menu after click if focus is on an element within menu. Fixes #9044 - Menu: Autofocus issue with dialog opened from menu widget 2013-09-17 13:03:18 -05:00
Scott González
134fcafdda Merge branch 'master' into selectmenu 2013-09-16 11:58:05 -04:00
Jörn Zaefferer
1552fc8a05 Spinner: Add isValid method. Fixes #9542 - Spinner: Add isValid() method 2013-09-13 00:16:31 +02:00
Jörn Zaefferer
6e799c39d3 Widget Bridge: Make the _init method optional. Add tests for both states. Fixes #9543 - Widget bridge: Make _init() optional. 2013-09-11 22:26:34 +02:00
Felix Nagel
4ddd14fe43 Selectmenu Tests: check CSS class on menu items 2013-09-04 21:34:20 +02:00
Felix Nagel
cf6dbd8b6b Merge branch 'master' into selectmenu 2013-08-31 03:12:22 +02:00
Felix Nagel
d668c94e3e Selectmenu Tests: check if button text is updated when selected option is added 2013-08-31 03:10:52 +02:00
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
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
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
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
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
4c930fd59b Selectmenu Tests: add spaces to [0] 2013-04-29 23:15:56 +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
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
a4fabd2bb4 Whitespace. 2013-03-26 14:43:35 -04:00