Skip to content

Conversation

kborchers
Copy link
Member

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!

@jzaefferer
Copy link
Member

There's a console.log statement in position_core.js.

Could you add flipfit to the default demo? Add flipfit

The unit tests have 10 failures in IE6 for me, but not the one about fractionals.

That's all I found, the actual collision detection is awesome :-)

@kborchers
Copy link
Member Author

@jzaefferer OK, I think this should do it

…sual 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!
@jzaefferer jzaefferer merged commit 80bbebd into jquery:master Aug 15, 2011
@jzaefferer
Copy link
Member

Still getting inconsistent results from unit tests in IEs: IE9 fails on the fractions-test, IE6 produces some other random failsure (7 and 8 pass).

Whatever, just landed it. Let's see what issues popup in when run via TestSwarm, then fix those later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants