Commit Graph

1729 Commits

Author SHA1 Message Date
Alexander Schmitz
12df1b7dad Button: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Alexander Schmitz
8b4ce807cd Autocomplete: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Alexander Schmitz
b240eed81b Accordion: Remove core event/alias and deprecated module dependencies 2015-05-20 14:27:55 -04:00
Scott González
ad98cb1673 Form Reset: Add form reset mixin
Fixes #12638
Closes gh-1555
2015-05-14 20:39:51 -04:00
Scott González
556b2710f0 Widget: Support mixins
Fixes #12601
Closes gh-1554
2015-05-14 20:36:00 -04:00
Scott González
ae25cdb688 Build: Upgrade to jQuery 1.11.3 2015-05-14 08:25:16 -04:00
Scott González
e1751383f1 Tests: Use new jquery-compat-git and jquery-git files 2015-05-14 07:44:13 -04:00
Scott González
f9ad17d575 Widget tests: Clean up $.fn methods 2015-05-13 14:58:39 -04:00
Alexander Schmitz
803eaf29f7 Core: Add $.fn.labels, $.fn.form, and $.ui.escapeSelector methods
$.fn.labels and $.fn.form mimic the native labels and form properties
$.ui.escapeSelector is for escaping attributes and urls for use as selectors

Closes gh-1546
2015-05-05 21:43:57 -04:00
Jörn Zaefferer
8b89f8c59b Effect: Make .transfer() callback optional
Adds two tests to at least check that no exception is thrown.

Fixes #12223
Closes gh-1545
2015-04-24 15:13:07 +02:00
Ablay Keldibek
897a238332 Slider: Range fills all space after changing orientation
Resets width/height of range

Fixes #12205
Closes gh-1533
2015-04-22 12:55:54 -04:00
Jiabao Wu
2cef124bf2 Tooltip: Remove name attribute from elements in the live region
Fixes #11272
Closes gh-1544
2015-04-22 10:20:11 -04:00
Ablay Keldibek
adcc8eff43 Slider: Pass 0 value if slider reaches it
Fixes #12196
Closes gh-1540
2015-04-20 19:27:26 -04:00
Scott González
0fc9bd208a Position: Remove IE6 workarounds in tests
Closes gh-1543
2015-04-20 14:32:31 -04:00
Jörn Zaefferer
74ccbc18a4 Tabs: Rename ui-tab class to ui-tabs-tab for consistent prefixes
Fixes #12061
Closes gh-1538
Ref #7053
Ref jquery/api.jqueryui.com#256
2015-04-18 08:58:33 +02:00
Scott González
6231b161b9 Tests: Fix AMD loading in IE8
It appears that we must load require.js via a standard script tag in order
for it to work properly in IE8.
2015-04-17 12:13:38 -04:00
Scott González
bde431bb44 Tests: Rename files
Ref gh-1528
2015-04-09 09:27:00 -04:00
Scott González
dc4b015a8b Tests: Widget test helpers extend the main helper
Ref #10119
Ref gh-1528
2015-04-09 09:26:58 -04:00
Scott González
42566bdd03 Tests: Remove old test infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:28 -04:00
Scott González
669e62d61b Droppable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:28 -04:00
Scott González
a2da340e0d Tooltip: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
7d4811206f Dialog: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
7d168ce630 Datepicker: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
8bda52c8d1 Spinner: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
23a7a113ac Widget: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
94f5c15df9 Tabs: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:27 -04:00
Scott González
31e36e6ae4 Sortable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
a856dd9b7e Slider: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
3522fd9618 Selectmenu: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
b8625346f6 Selectable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
4e7407cd69 Resizable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
df3e8c4deb Progressbar: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
739f9b3f63 Position: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
f2ca8f92f0 Menu: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
a0e3da0459 Effects: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
fbc55446fb Draggable: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:26:26 -04:00
Scott González
9fb04e42a2 Core: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
f908a7793b Button: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
aff3c32ee1 Autocomplete: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
e39ee9d669 Accordion: Convert tests to new infrastructure
Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
Scott González
2e1c72fb59 Tests: Convert closeEnough() to a proper QUnit assertion
Should eventually replace with qunit-assert-close.

Ref #10119
Ref gh-1528
2015-04-09 09:24:45 -04:00
TJ VanToll
d0ea32e3ad Revert "Draggable: Set explicit width/height instead of right/bottom"
This reverts commit 8eca7b8f45.

Fixes #10725
2015-04-08 13:15:41 -04:00
Jörn Zaefferer
c770605db0 Menu: Ignore bubbled mouseenter events on parent items
Test uses QUnit 2.x API - inconsistent with the other tests, but also
a good reference.

Fixes #11641
Closes gh-1535
2015-04-08 16:34:26 +02:00
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
Felix Nagel
d9ee3a1ec4 Calendar tests: Fix dateFormat option test
Do not use value option to pass in a string but value method.
2015-03-24 20:06:32 +01: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
Felix Nagel
11c1735275 Calendar: Use button instead of link elements for day items
Ref gh-1432
2015-02-26 09:27:41 -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
Felix Nagel
cc91adf4b6 Calendar: Use document.activeElement for retrieving focused element
Fixes unit tests in phantom.
2015-01-29 18:01:30 -05:00
Felix Nagel
ee83c37e0f Calendar: Remove option method overwrite 2015-01-29 18:01:30 -05:00
Felix Nagel
32891588f4 Datepicker: Add missing handling for disabled option 2015-01-29 18:01:30 -05:00