aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/resizable
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Make resizable tests a bit more forgivingMichał Gołębiowski-Owczarek2023-05-101-6/+16
|
* Build: Fork vendors to remove QUnit deprecated API usageMichał Gołębiowski-Owczarek2023-05-101-2/+2
| | | | | | | | | | | | Changes: * add `tests/lib/vendor/**/*` to `.eslintignore` * move `qunit-composite` to `tests/lib` so that we can modify it * move `qunit-assert-classes` to `tests/lib` so that we can modify it * move `qunit-assert-close` to `tests/lib` so that we can modify it * replace `assert.push` with `assert.pushResult` * remove usage of `QUnit.extend` Closes gh-2157
* Resizable: Fix resizing of elems with `box-sizing: border-box`Matías Cánepa2022-10-101-0/+26
| | | | Fixes gh-1979 Closes gh-2012
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-075-0/+5
| | | | | Fixes #15393 Closes gh-1958
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-164-8/+12
| | | | | | | | | | | | | This helps fix issues that make tooltip tests sometimes fail when run against jQuery 3.2 or newer due to timing differences. Details: * Add the `moduleAfterEach` function ensuring no timers are running. * Attach this function via `common.testWidget`. * Attach this function to most test suites. * Add a tooltip test helper cleaning up leftover timers. * Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`. Closes gh-1920
* Resizable: Keep user-provided handles on destroyKonstantin Dinev2017-04-171-1/+9
| | | | | Closes gh-1798 Ref gh-1795
* Resizable: Keep user defined handles on _setOptionKonstantin Dinev2017-02-241-8/+20
| | | | | Fixes #15084 Closes gh-1795
* Resizable: Fix aspectRatio cannot be changed after initialization.Sergei Ratnikov2016-09-281-0/+22
| | | | | Fixes #4186 Closes gh-1750
* Resizable: Avoid `Array#map()` in tests for IE8Scott González2016-07-071-1/+1
|
* Resizeable: Shift to use no globalsAmanpreet Singh2016-04-145-301/+306
|
* Resizable: Implement `setOption` for handlesKonstantin Dinev2016-03-301-0/+27
| | | | | Fixes #3423 Closes gh-1666
* Resizable: Style updatesAlexander Schmitz2015-09-116-330/+328
| | | | Ref #14246
* Resizable: Style updatesAlexander Schmitz2015-08-213-9/+9
| | | | | Ref #14246 Ref gh-1588
* Resizable: Move resizable into widgets folderAlexander Schmitz2015-08-085-5/+5
| | | | Ref #13885
* Tests: Fix AMD loading in IE8Scott González2015-04-171-0/+1
| | | | | It appears that we must load require.js via a standard script tag in order for it to work properly in IE8.
* Tests: Rename filesScott González2015-04-096-3/+3
| | | | Ref gh-1528
* Tests: Widget test helpers extend the main helperScott González2015-04-094-89/+92
| | | | | Ref #10119 Ref gh-1528
* Resizable: Convert tests to new infrastructureScott González2015-04-097-133/+121
| | | | | Ref #10119 Ref gh-1528
* Tests: Switch to the new qunit-composite moduleScott González2015-04-071-2/+2
| | | | | | This module was created from our existing implementation. Closes gh-1532
* All: Standard spacing inside selector stringsScott González2015-03-261-1/+1
| | | | Closes gh-1521
* Resizable: Use new has/lacksClasses assertions for all class checksAlexander Schmitz2015-03-112-3/+4
|
* Resizable: Add classes optionAlexander Schmitz2015-03-111-1/+3
| | | | | Ref #7053 Ref gh-1411
* Widget: Add classes option and _add/_remove/_toggleClass methodsAlexander Schmitz2015-03-111-0/+1
| | | | | Fixes #7053 Closes gh-1411
* Resizable: alsoResize more than one element of a jQuery selectionBen Mosher2015-03-041-0/+30
| | | | | | Fixes #4666 Closes gh-1324 Closes gh-1461
* Resizable: Modified to allow jquery objects as handlesPatricia Juarez2015-03-032-0/+30
| | | | | | | Custom handlers did not work as jquery objects (outside the resizable element) Fixes #9658 Closes gh-1445
* Resizable: correct width when grid approaches zeroMike Sherov2015-01-271-2/+2
| | | | Fixes #10590
* Resizable: Whitespace CleanupMike Sherov2015-01-271-2/+2
|
* Tests: Fix style issues with missing or multiple line breaksJörn Zaefferer2015-01-242-2/+1
| | | | | As pointed out by jscs, after a esformatter run. The latter doesn't address these, so fixing them manually.
* Build: Pull in jquery.simulate.js from BowerMike Sherov2014-08-221-1/+1
| | | | Fixes #10563
* Resizable Tests: fix IE8 test fail due to unspecified border styleMike Sherov2014-08-131-1/+1
| | | | | IE <9 does not correctly set the height of an element if the borderWidth is non-zero but no borderStyle is specified.
* Resizable: account for padding & border in grids.Mike Sherov2014-08-051-0/+20
| | | | Fixes #10437
* Resizable: Fix containment width with relative parent.Jyoti Deka2014-08-041-10/+48
| | | | Refs #10140 Closes gh-1303
* Resizable: Fix containment calculation with relative parentMike Sherov2014-08-041-1/+15
| | | | | | | Remove an incorrect fix introduced in 47cd5b6f that causes width calculations to be incorrect once the correct fix was introduced in c03cb807 Fixes #10140
* Tests: Fix composite testsScott González2014-08-011-1/+1
|
* Resizable: Fix size/position changes in resize eventScott González2014-07-241-0/+21
| | | | | Fixes #10351 Closes gh-1292
* Build: Reorganize external directoryScott González2014-06-242-4/+4
| | | | | | | Put each external library into its own directory. Move jquery.js to external. Ref gh-1266
* Resizable: Remove bad workaround for draggable+resizableJörn Zaefferer2014-04-161-4/+6
| | | | | | | | | | | | 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
* All: Rename jquery.js to exclude version in filenameJörn Zaefferer2014-03-051-1/+1
|
* Tests: Update to sane QUnit markupJörn Zaefferer2014-02-202-10/+2
|
* All: Rename all files, removing the "jquery.ui." prefix;Rafael Xavier de Souza2014-01-241-5/+5
| | | | | | | - By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271; Fixes #9464 Closes gh-1029
* Resizable: Only resize/reposition if size is greater than specified gridKris Borchers2014-01-151-0/+23
| | | | | Fixes #9611 Closes gh-1132
* Resizable: containment plugin restricts resizing within containerJyoti Deka2013-12-151-0/+31
| | | | | Fixes #7018 Fixes #9107 Closes gh-1122
* Resizable: containment now works with non - immediate childrenJyoti Deka2013-12-152-1/+36
| | | | Fixes #7485 Closes gh-1130
* Resizable: modified to allow resizing when resizables are nested.Jyoti Deka2013-12-141-0/+33
| | | | | Fixes #5025 Closes gh-1149
* Resizable: Store size based on calculated helper size to prevent 1 pixel ↵Kris Borchers2013-10-181-0/+15
| | | | shifts. Fixes #9547 - Resizable: off-by-one pixel dimensions with helper and grid
* Updating jQuery to 1.10.2.Bruno M. Custódio2013-07-051-1/+1
| | | | | 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.
* Resizable: Fixed sign error on offset calculation. Fixes #9307 - Resizable: ↵Christian Klammer2013-05-291-0/+47
| | | | Erratic behavior of contained elements within scrollable grandparents
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Scott González2013-03-141-4/+13
| | | | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable: disabled should not have ui-state-disabled This reverts commit 23771d38ba9d2663f6db0243c8e992dc7ff6844a.
* Revert "Widget: Stop setting ui-state-disabled and aria by default on ↵Scott González2013-03-141-13/+4
| | | | | | setting disabled option." This needs to wait for a major release. This reverts commit 4d67f4f34908a50ef88f95df4103ee001b777e45.
* Widget: Stop setting ui-state-disabled and aria by default on setting ↵Mike Sherov2013-03-111-4/+13
| | | | | | | | disabled option. Fixes #5973 - Resizable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #5974 - Draggable: disabled should not have the ui-state-disabled class or aria attribute aria-disabled Fixes #6039 - Droppable : disabled should not have ui-state-disabled