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