Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
JavaScript-Resource
jquery
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
jquery
test
unit
offset.js
on
killphp
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 7, 2015
Build: Update jscs and lint files
Show description for 10fdad7
markelog
committed
10fdad7
View commit details
Copy full SHA for 10fdad7
View code at this point
Browse repository at this point
Commits on Aug 16, 2015
Tests: partially use new qunit interface
Show description for b930d14
markelog
committed
b930d14
View commit details
Copy full SHA for b930d14
View code at this point
Browse repository at this point
Commits on Jun 16, 2015
Offset: add tests for hidden elements + scroll
Show description for b041242
timmywil
committed
b041242
View commit details
Copy full SHA for b041242
View code at this point
Browse repository at this point
Offset: return zeros for disconnected/hidden elements
Show description for 40dcc76
timmywil
committed
40dcc76
View commit details
Copy full SHA for 40dcc76
View code at this point
Browse repository at this point
Commits on May 12, 2015
Offset: account for scroll when calculating position
Show description for 2d71594
Richard McDaniel
authored and
timmywil
committed
2d71594
View commit details
Copy full SHA for 2d71594
View code at this point
Browse repository at this point
Commits on May 5, 2015
Offset: remove ownerDocument check in offset getter
Show description for 6176567
timmywil
committed
6176567
View commit details
Copy full SHA for 6176567
View code at this point
Browse repository at this point
Offset: Fix .offset() to correctly work with ShadowDOM
Show description for 1617479
NekR
authored and
timmywil
committed
1617479
View commit details
Copy full SHA for 1617479
View code at this point
Browse repository at this point
Commits on Feb 11, 2015
Offset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0
Show description for 0c46643
markelog
committed
0c46643
View commit details
Copy full SHA for 0c46643
View code at this point
Browse repository at this point
Commits on Jan 12, 2015
Core: Remove deprecated context and selector properties
Show description for 0ea8c32
dmethvin
committed
0ea8c32
View commit details
Copy full SHA for 0ea8c32
View code at this point
Browse repository at this point
Commits on Dec 25, 2014
Offset: don't run scrollTop/scrollLeft iframe test in mobile Safari
Show description for 4ab8603
markelog
committed
4ab8603
View commit details
Copy full SHA for 4ab8603
View code at this point
Browse repository at this point
Commits on Dec 23, 2014
Event: fix incorrect window bug with scrollTop/Left in iframes
Show description for d21edb5
araghava
authored and
markelog
committed
d21edb5
View commit details
Copy full SHA for d21edb5
View code at this point
Browse repository at this point
Commits on Nov 10, 2013
Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425.
mgol
committed
4b39a82
View commit details
Copy full SHA for 4b39a82
View code at this point
Browse repository at this point
Commits on Apr 9, 2013
Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755.
timmywil
committed
0fa52c1
View commit details
Copy full SHA for 0fa52c1
View code at this point
Browse repository at this point
Commits on Apr 6, 2013
Improve CSS and `Support:` comments. Close gh-1220.
Show description for dca7681
mgol
authored and
dmethvin
committed
dca7681
View commit details
Copy full SHA for dca7681
View code at this point
Browse repository at this point
Commits on Dec 22, 2012
Know when to hold em, know when to fold em.
dmethvin
committed
e296190
View commit details
Copy full SHA for e296190
View code at this point
Browse repository at this point
Commits on Dec 11, 2012
Test: Update index.html to new QUnit format. Close gh-1061.
Show description for 55313d3
Krinkle
authored and
dmethvin
committed
55313d3
View commit details
Copy full SHA for 55313d3
View code at this point
Browse repository at this point
Commits on Nov 5, 2012
No ticket: update test suite to pass QUnit globals check in most environments. Close gh-1016.
gibson042
committed
81b094b
View commit details
Copy full SHA for 81b094b
View code at this point
Browse repository at this point
Commits on Oct 26, 2012
Fixes #12139, make sure absolutely positioned elements have HTML as offsetParent, closes gh-1010
David Fox
authored and
mikesherov
committed
8121309
View commit details
Copy full SHA for 8121309
View code at this point
Browse repository at this point
Commits on Oct 25, 2012
Fix #11542. document.body should not be special in .offset() and document.documentElement is the default element.offsetParent. Close gh-899.
Daniel Gálvez
authored and
dmethvin
committed
b398a68
View commit details
Copy full SHA for b398a68
View code at this point
Browse repository at this point
Commits on Oct 17, 2012
fix failing offset tests
mikesherov
committed
fad0e22
View commit details
Copy full SHA for fad0e22
View code at this point
Browse repository at this point
Fixes #12749, correctly detect position() for position:fixed elements, closes gh-991
Merrifield, Jay
authored and
mikesherov
committed
425272a
View commit details
Copy full SHA for 425272a
View code at this point
Browse repository at this point
Commits on Oct 16, 2012
enforce double quotes via JSHint. Closes gh-975
mikesherov
authored and
rwaldron
committed
ed9e344
View commit details
Copy full SHA for ed9e344
View code at this point
Browse repository at this point
Commits on Sep 13, 2012
Fix #12534. Don't die on browsers lacking getBoundingClientRect.
dmethvin
committed
b0a352b
View commit details
Copy full SHA for b0a352b
View code at this point
Browse repository at this point
Commits on Jul 25, 2012
Remove IE8 testswarm hacks for offset.
dmethvin
committed
3478cbb
View commit details
Copy full SHA for 3478cbb
View code at this point
Browse repository at this point
Commits on Jul 11, 2012
Remove a few stray spaces in unit tests.
dmethvin
committed
335bdf2
View commit details
Copy full SHA for 335bdf2
View code at this point
Browse repository at this point
Commits on Jul 10, 2012
Fix #11962. Standardize getter return values for empty sets.
antishok
authored and
dmethvin
committed
21b0db7
View commit details
Copy full SHA for 21b0db7
View code at this point
Browse repository at this point
Commits on Jul 6, 2012
Fix #8482, offsetParent should not return null. Closes gh-847.
Nowres Rafid
authored and
dmethvin
committed
aaf134b
View commit details
Copy full SHA for aaf134b
View code at this point
Browse repository at this point
Commits on Jul 5, 2012
Make unit tests friendly to Closure Compiler. Closes gh-845.
Show description for de9bed3
Chad Killingsworth
authored and
dmethvin
committed
de9bed3
View commit details
Copy full SHA for de9bed3
View code at this point
Browse repository at this point
Commits on Jul 4, 2012
Ever notice that static and problematic rhyme?
dmethvin
committed
703f274
View commit details
Copy full SHA for 703f274
View code at this point
Browse repository at this point
Avoid running problematic static offset tests in IE8 on the swarm.
dmethvin
committed
5c60e33
View commit details
Copy full SHA for 5c60e33
View code at this point
Browse repository at this point
Commits on Jun 21, 2012
Unit tests are linted and passing.
rwaldron
committed
7ff3da1
View commit details
Copy full SHA for 7ff3da1
View code at this point
Browse repository at this point
Commits on Jun 18, 2012
Detect IE collapsing body margin directly rather than inferring it.
dmethvin
committed
c18f1f1
View commit details
Copy full SHA for c18f1f1
View code at this point
Browse repository at this point
Browser sniffing is *bad*, folks, even in unit tests.
dmethvin
committed
90a6a49
View commit details
Copy full SHA for 90a6a49
View code at this point
Browse repository at this point
Commits on Jun 7, 2012
Modularize offset (exclude w/ grunt build:*:*:-offset). Closes #813. Fixes #11865
mikesherov
authored and
rwaldron
committed
c68ab27
View commit details
Copy full SHA for c68ab27
View code at this point
Browse repository at this point
Commits on Jun 5, 2012
Fix busted tests that relied on width in 2nd param to jQuery(), dimensions stays modular. (core, attributes, offset)
Show description for e680f36
rwaldron
committed
e680f36
View commit details
Copy full SHA for e680f36
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.