Commit Graph

30 Commits

Author SHA1 Message Date
David Petersen
c958b211db Position: Handle decimal percentage offsets. Fixes #9076: percentage offset does not support decimal 2013-02-12 07:05:19 -06:00
Scott González
8bdf0359bb Skip collision: fit test in IE until TestSwarm stops using iframes. 2012-11-05 11:31:33 -05:00
Scott González
8e541f1bf6 Tests: Remove the need to include the 'ui.' prefix in testJshint() now that effects use 'ui.'. 2012-06-15 13:42:00 -04:00
Scott González
27072de094 Tests: Run JSHint. 2012-04-29 20:22:52 -04:00
Jörn Zaefferer
db72cb7e94 Merge branch 'position-notification' 2012-04-24 17:29:16 +02:00
Jörn Zaefferer
252352e124 Position: Fix scrollbar calculcation to correctly take overflow:scroll into account, along with unit tests 2012-04-24 17:23:25 +02:00
Jörn Zaefferer
1a0f2e4659 Position: Extend unit test for using to check feedback properties 2012-04-24 16:17:02 +02:00
Scott González
cbc5207c41 Position tests: Fixed typo. 2012-04-24 09:04:58 -04:00
Scott González
9df981d268 Position: Added tests for flipfit. 2012-04-23 16:07:58 -04:00
Scott González
b093b6f6f7 Position tests: Simplify logic and reduce tests. 2012-04-23 15:52:20 -04:00
Scott González
aa187f57d1 Tests: Lint 2012-04-19 09:39:21 -04:00
Jörn Zaefferer
72023dd045 Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal. 2012-02-29 18:36:40 +01:00
kborchers
80bbebd489 Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit! 2011-08-12 22:19:52 -05:00
Benjamin Sterling
d5452c0ec2 Position: Add flip-classes. Fixes #5937 - Position: Add ability to determine if the element is flipped via css 2011-07-11 19:49:56 -04:00
David Murdoch
e4a42991df Removing unnecessary variables, caching 'within' in tests where its beneficial, and making some other changes based on the code review 2011-05-16 23:46:21 +00:00
David Murdoch
cf96d22532 position now passes all tests! 0/ 2011-05-13 21:57:16 +00:00
David Murdoch
17be87f34c Whitespace fix 2011-05-12 20:48:01 +00:00
David Murdoch
7bca8c1004 Fix typos in original tests 2011-05-12 20:44:24 +00:00
Jean-Francois Remy
5e44b3ce88 Position: Handled scrolled windows properly with collision: fit. Fixes #7211 - Position: Collision: fit doesn't work at top of window when scrolled. 2011-05-03 04:38:17 -04:00
Scott González
de5a98e7bc Position: Split out tests for deprecated offset option. 2011-03-22 13:25:28 -04:00
Scott González
221dcd7027 Position: Coding standards. 2011-03-22 13:12:03 -04:00
Scott González
6f051d5d6a Position: Merged offset option into my and at options and added support for percentage-based offsets. Fixes #6981 - Position: Merge offset option into my and at options. Fixes #7028 - Position: Allow percent-based offsets. 2011-03-22 12:25:25 -04:00
jzaefferer
3d3b5dd1e7 Position: Test for window scrollTop support and run scrolled window test
only when support is there. Should exclude mobile devices, getting the
position testsuite to produce more useful results.
2011-02-26 11:25:41 +01:00
Ben Hollis
4b9d5d1b5b Position: Take margin into account when performing collisions. Fixes #5766 - position: collision should take margin into account. 2010-09-03 10:38:44 -04:00
Scott González
52a052be79 Position: Handle $(document) and $(window) for the of option. Fixes #5963 - Position: option 'of' accepts jQuery object unless it wraps document. Fixes #5655 - (Possible) Typo in jquery.ui.position 1.8.1. 2010-08-27 13:34:14 -04:00
jzaefferer
7adf7a9d0b Position unit tests: Add module for testswarm to run all tests 2010-04-14 09:17:11 +02:00
Scott González
9541bd0bf2 Position: Use parseInt() to prevent fractional pixel values.
Fixes #5280 - ui.position generates different position in static context.
2010-03-26 19:53:43 -04:00
Richard Worth
9483dcdbe6 Externals: updated QUnit to http://github.com/jquery/qunit commit 67ba5a338d836014c24345dc218ab3c9bb63b06e
The various updates to the unit test suites introduced 0 regressions due to update of QUnit, however the addition of jquery.ui.dialog.css to the dialog test suite did introduce one regression, to the dialog option height tests.
Also removed some old crufty woefully incomplete unused and rotted test harnesses.
2010-02-25 11:09:39 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Scott González
eff793d014 Copied position plugin from /branches/dev/positionTo r2971. 2009-07-24 18:24:13 +00:00