Skip to content

Position: Added a check for fraction support in element positions based on @inukshuk's original method #460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

kborchers
Copy link
Member

Position: Added a check for fraction support in element positions based on @inukshuk's original method

@jzaefferer
Copy link
Member

In which browser/jquery combo did this fail?

@inukshuk
Copy link

I just fetched and merged upstream/1-8-stable into my branch and ran the tests in FF6.

  • position.html?jquery=1.6.2 all tests pass
  • position.html?jquery=1.5.2 tests 2, 3, 6 and 15 fail. All failures are the result of fractions where rounded values were expected.

Same results using version 1.4.4. and, I assume, for all versions prior to 1.6.

@kborchers
Copy link
Member Author

@jzaefferer Before this change, the bug #5280 test failed in IE9 and FF6 (probably older IE's as well). After the change all position tests pass in all browsers with 1.6.2. Unfortunately, this change causes the fractions test to fail in FF6 in older version of jQuery because the browser supports fractions but jQuery does not so the test expects fractions but the values are rounded. I'm not sure what we can do about that since it's old versions of jQuery rounding, not UI. Thoughts?

@jzaefferer
Copy link
Member

I'm not seeing a test failure in FF6 without the patch, both on Windows XP and OSX. What am I missing?

@jzaefferer
Copy link
Member

Scratch that, it fails with jQuery 1.5.2, but not 1.6.x. I lost track of where we need to support this, and what failures matter or not, e.g. 1.9 doesn't really support anything older then 1.6, while 1-8-stable does (I guess). @scottgonzalez, could you take a look and land it?

@jzaefferer
Copy link
Member

Just tried merging this into 1-8-stable, that fails pretty badly. @kborchers could you redo this against 1-8-stable (instead of master)?

@jzaefferer jzaefferer closed this Sep 21, 2011
@kborchers
Copy link
Member Author

OK, so merging into 1-8-stable makes sense but that still doesn't address the issue of Firefox and old version of jQuery. The fraction and 5280 tests are going to fail because the browsers supports fraction but jQuery does not. This causes the test results to not match. Should I merge this with or without those tests and if with, do we just accept that they fail in FF?

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

Successfully merging this pull request may close these issues.

3 participants