Skip to content
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

1.7 jQuery.offset.supportsFixedPosition. Ticket #6809 #477

Closed
wants to merge 7 commits into from

Conversation

rwaldron
Copy link
Member

This initial pull request should serve as a request for comments, reviews etc.

The approach I took was to use the "fake body" created by the support module or real body if possible to determine the support for fixedPosition as early as possible, here:
https://github.com/rwldrn/jquery/pull/new/6809#L1R251

I've mapped the new support properties to their previously expected property names, here:
https://github.com/rwldrn/jquery/pull/new/6809#L0R123

I also significanty reduced the number of repetitive characters used by cacheing the style attribute value here:
https://github.com/rwldrn/jquery/pull/new/6809#L1R257

Improvements to overall readability and consistency.

This has been tested and is passing in:

  • FF3.6.20, 6, 7
  • Chrome 12, 13
  • Safari 5.0, 5.1
  • IE 6, 7, 8
  • Opera 11.01, 11.50

If I could get some backup testing on IE9, that would be greatly appreciated.

http://bugs.jquery.com/ticket/6809

@timmywil
Copy link
Member

Landed in commit f602136.

@timmywil timmywil closed this Sep 20, 2011
mescoda pushed a commit to mescoda/jquery that referenced this pull request Nov 4, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants