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
Felix Nagel
95fd20fbf6
Datepicker tests: Remove pass-through options unit tests
...
Add Test if these options are set on the underlying calendar instance
2015-01-29 18:01:30 -05:00
Felix Nagel
50f477f847
Calendar: Adjust files to match reorganization of external directory
2015-01-29 18:01:30 -05:00
Felix Nagel
9461f6680b
Calendar: Add buttons option
2015-01-29 18:01:29 -05:00
Felix Nagel
5df6d39d13
Datepicker: Improve localization handling, code style
2015-01-29 18:01:29 -05:00
Felix Nagel
fd3a68cfa3
Calendar: Fix German localization
2015-01-29 18:01:29 -05:00
Felix Nagel
398ce1bd82
Datepicker tests: Rewrite event unit tests
2015-01-29 18:01:29 -05:00
Felix Nagel
6dfcd937f9
Datepicker tests: Add open and close unit tests
2015-01-29 18:01:28 -05:00
Felix Nagel
f88a06352a
Calendar: Add min and max option.
...
Improve render day cell mechanism.
2015-01-29 17:52:50 -05:00
Felix Nagel
510ba08cff
Calendar: Add calendar widget
...
Add calendar widget by copying and renaming datepicker widget files.
Remove datepicker functionality, options and methods from Calendar.
Remove calendar functionality, options and methods from Datepicker.
Adjust tests due to split and changed specification. Remove duplicated
demo files and fix some demos. Simplify calendar generation, use CSS
instead of inline styles. Fix destroy method. Make use of uniqueId
method. Fix focus highlighting when month is changed. Add version
property. Add common unit tests. Fix input keyboard handling.
2015-01-29 17:52:46 -05:00
Felix Nagel
35b52a0dfc
Datepicker: Introduce value option
...
Change status caching, fix existing value related methods, introduce
$.date construction with date object, selected property is null by
default, add selected getter
2015-01-29 17:48:26 -05:00
Felix Nagel
9c66d2e92f
Datepicker: Use short
instead of abbreviated
format for table header
...
Revert to old behavior with two instead of three chars.
Fixes layout issue with wrong day table cell width.
2015-01-29 17:48:25 -05:00
Felix Nagel
cfea8df90a
Datepicker: Fix code style issues
2015-01-29 17:48:19 -05:00
TJ VanToll
77d7dd21a7
Date: Make $.date()
a constructor function
...
Move methods to prototype.
2015-01-29 17:47:50 -05:00
TJ VanToll
a9d6a65651
Date: Update test suite to coding standards
2015-01-29 17:47:50 -05:00
TJ VanToll
fd215f1863
Datepicker: Update the picker as the user types valid dates
2015-01-29 17:47:50 -05:00
TJ VanToll
feedc57486
Datepicker: Handle invalid values in value()
and valueAsDate()
2015-01-29 17:47:50 -05:00
TJ VanToll
b4fe65a134
Datepicker: Add an isValid()
method
2015-01-29 17:47:50 -05:00
TJ VanToll
104f3e6be0
Datepicker: Re-adding mouse tests
2015-01-29 17:47:49 -05:00
TJ VanToll
605387d6fc
Datepicker: Update key handling implementation and tests
2015-01-29 17:47:49 -05:00
Rafael Xavier de Souza
ffc8ab2710
Datepicker: Use Globalize 1.0.0
2015-01-29 17:47:48 -05:00
TJ VanToll
ff4bfd643d
Datepicker: Fix key handling implementation and tests
2015-01-29 17:47:48 -05:00
TJ VanToll
e87a5d8c05
Datepicker: Add value()
and valueAsDate()
methods
2015-01-29 17:47:48 -05:00
TJ VanToll
cc5a4bc5c8
Datepicker: Support destroying inline datepickers
2015-01-29 17:47:48 -05:00
TJ VanToll
bfd8f26bb4
Datepicker: Add test to ensure the <input>
's value is preselected
2015-01-29 17:47:48 -05:00
TJ VanToll
ab94999105
Datepicker: Allow dateFormat
to be changed after init
2015-01-29 17:47:48 -05:00
TJ VanToll
13cd6c2fe5
Datepicker: Support changing eachDay
after initialization
2015-01-29 17:47:47 -05:00
TJ VanToll
1a83120fff
Datepicker: Support position
option changes after init
2015-01-29 17:47:47 -05:00
TJ VanToll
5fbe668d86
Datepicker: Various changes for the showWeek
option
...
* Re-add `ui-datepicker-week-col` class name currently used.
* Add test suite.
* Support changing option after initialization.
2015-01-29 17:47:47 -05:00
TJ VanToll
b5893906df
Datepicker: Support changing the appendTo
option after init
2015-01-29 17:47:47 -05:00
TJ VanToll
8983fee991
Datepicker: Clean up tests
2015-01-29 17:47:47 -05:00
TJ VanToll
e50d6d3bd2
Datepicker: Update tests and demos for new structure
2015-01-29 17:47:46 -05:00
TJ VanToll
68f8e3c2e3
Datepicker: Initial commit of widget rewrite work from old branch
...
History is on the datepicker-dead branch.
2015-01-29 13:42:45 -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