Commit Graph

6623 Commits

Author SHA1 Message Date
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
Scott González
7c896ddb85 Tests: Change test infrastructure to use AMD and reduce boilerplate
Ref #10119
Ref gh-1528

* Adds RequireJS and relies on AMD for loading dependencies.
* Updates to grunt-contrib-qunit 0.6.0.
* Convert `domEqual()` to a proper QUnit assertion.
* Introduces two bootstrap files (JS and CSS) which use `data-` attributes to
reduce the amount of boilerplate needed in each test
2015-04-09 09:21:06 -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
Jörn Zaefferer
2d0f05b25d Selectmenu: Add a disabled-default option example to default demo
Ref gh-1520
2015-04-08 15:00:16 +02:00
Jörn Zaefferer
c5b215e319 Menu: Update default demo, use product categories
Makes it look like a navigation menu that can't be navigated, at least
better than the random city names we had before.

Ref #11641
2015-04-08 14:33:35 +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
Ablay Keldibek
bf03479cc1 Slider: Proper animation of range
Fixes #9459
Closes gh-1530
2015-04-06 16:59:45 -04:00
TJ VanToll
65f4feb70b Tests: Add slider visual test to the index page 2015-04-05 11:46:50 -04:00
Jörn Zaefferer
98d9bb9b3e Build: Upgrade to QUnit 1.18.0 2015-04-03 12:49:43 +02:00
Scott González
0de27b0609 Core: Work around more IE activeElement bugs
Closes gh-1523
2015-03-29 09:51:23 -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
dc6703756d All: Include native dialogs in appendTo logic (ui-front walking)
Ref #10739
Ref gh-1517
2015-03-26 07:35:20 -04:00
Scott González
8cf98798a5 Tooltip: Follow the standard appendTo logic
Even though there's no reason to ever configure the parent element via an
`appendTo` option, following the standard logic is useful for scrollable
elements and native dialogs.

Fixes #10739
Closes gh-1517
2015-03-26 07:35:20 -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
e109e76819 Spinner: Properly handle empty attributes in create with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516
2015-03-25 15:55:19 -04:00
Scott González
fdbb85be39 Dialog: Properly handle empty title with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`.

Ref gh-1516
2015-03-25 15:55:16 -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
Scott González
12643739a9 Core: Fix :focusable and :tabbable with jQuery git
jQuery now returns `null` for empty attributes instead of `undefined`

Ref gh-1516
2015-03-25 15:55:03 -04:00
Scott González
76c27556f4 Core: Handle IE11 bug with document.activeElement in iframes
Fixes #11539
Closes gh-1518
2015-03-24 18:28:12 -04:00
Jörn Zaefferer
1696405c09 Menu: Default for classes option is defined in $.Widget
Ref #7053
2015-03-18 18:36:07 +01:00
Jörn Zaefferer
d024d4d119 Autocomplete: Default for classes option is defined in $.Widget
Ref #7053
2015-03-18 18:34:28 +01:00
Scott González
3970e8c681 Position: Simplify fraction support test
Also makes the test lazy to avoid any potential layouts/recalculations during
initialization.

Fixes #9898
Ref #9899
2015-03-18 10:55:53 -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
Jörn Zaefferer
868e8c70e3 Effects: Fix style issues in individual effects
Skipping ui/effect.js since embedded jquery-color has many issues.

Closes gh-1510
2015-03-18 15:42:55 +01:00
Scott González
c16a5e58f9 All: Consolidate .removeAttr() calls
Closes gh-1505
2015-03-18 10:39:25 -04:00
Jörn Zaefferer
8bcd363ae6 Build: Menu and Tabs now pass all jscs rules 2015-03-18 15:00:20 +01:00
Jörn Zaefferer
92a9d8de14 Tabs: Fix style issues
Closes gh-1494
2015-03-18 14:49:37 +01:00
Jörn Zaefferer
a10847a9db Menu: Fix style issues
Closes gh-1491
2015-03-18 14:43:31 +01:00
Jörn Zaefferer
4e6e27d073 Build: Increase htmllint coverage by testing all files, ignoring errors
Also formats jscsBad array and sorts it alphabetically.

Closes gh-1507
2015-03-18 14:18:34 +01:00
Jörn Zaefferer
62620a3fdb Build: Update grunt-jscs to latest, use exceptions to improve coverage
Closes gh-1506
2015-03-18 13:50:56 +01:00
Jörn Zaefferer
fac517ebb9 Autocomplete: Fix style issues
Closes gh-1504
2015-03-18 12:44:54 +01:00
Jörn Zaefferer
c4bcd243da Spinner: Fix style issues
Closes gh-1501
2015-03-18 12:38:58 +01:00
Jörn Zaefferer
bf6bbcdced Widget: Fix style issues
Closes gh-1500
2015-03-18 12:38:02 +01:00
Jörn Zaefferer
6b34ae952b Position: Fix style issues
Closes gh-1499
2015-03-18 12:34:46 +01:00
Jörn Zaefferer
62e0092156 Selectmenu: Fix style issues
Closes gh-1498
2015-03-18 12:33:49 +01:00
Jörn Zaefferer
aa61e001f3 Dialog: Fix style issues
Closes gh-1497
2015-03-18 12:25:28 +01:00
Jörn Zaefferer
ffd2fbf28b Core: Fix style issues
Closes gh-1496
2015-03-18 12:24:17 +01:00
Jörn Zaefferer
1e266bb636 Accordion: Fix style issues
Closes gh-1495
2015-03-18 12:23:14 +01:00
Jörn Zaefferer
b99f5b305f Progressbar: Fix style issues
Closes gh-1493
2015-03-18 12:11:44 +01:00
Jörn Zaefferer
adcc9680ec Tooltip: Fix style issues
Closes gh-1492
2015-03-18 12:10:43 +01:00
Thomas Applencourt
2c3be80143 README: Fix typo
Closes gh-1489
2015-03-17 11:26:17 -04:00
Jörn Zaefferer
4212d072a1 Autocomplete: Simplify _create() method
Uses logical expressions in place of conditional expressions.

Closes #1490
2015-03-17 16:05:31 +01:00
Scott González
581bfb55bf Autocomplete: Restore focus after clicking a menu item, if necessary
Fixes #9201
Closes gh-1470
2015-03-12 11:28:09 -04:00
Scott González
f33027840c Core: Add methods to work around IE active element bugs
Closes gh-1478
2015-03-12 07:35:27 -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