aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
Commit message (Collapse)AuthorAgeFilesLines
* Add undef:true to JSHint now that it understands hoistingMike Sherov2012-01-191-1/+1
| | | | also add smarttabs:true and fix some smarttabs spacing issues
* Fix #10692. JSLint is dead! Long live JSHint!Mike Sherov2011-12-081-1/+1
| | | | Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
* Fix #5571. Setters should treat `undefined` as a no-op and be chainable.Richard Gibson2011-12-061-67/+42
|
* jQuery.support.supportsFixedPosition -> jQuery.support.fixedPosition; Remove ↵timmywil2011-10-311-17/+7
| | | | jQuery.offset.supportProps and reference support in offset
* Cleanup spacing in offset.js. Fixes #10601Rick Waldron2011-10-271-5/+5
|
* Landing pull request 477. 1.7 jQuery.offset.supportsFixedPosition. Fixes #6809.Rick Waldron2011-09-191-35/+10
| | | | | | More Details: - https://github.com/jquery/jquery/pull/477 - http://bugs.jquery.com/ticket/6809
* Merge branch 'bug_7931' of https://github.com/Xavi-/jquery into Xavi--bug_7931John Resig2011-04-121-20/+22
|\ | | | | | | | | Conflicts: src/offset.js
| * Bug 7931; cleaned up white space in accordance to style guideXavi2011-01-181-8/+7
| |
| * Bug 7931; Inverted logic in scrollTop/Left (i.e. madeXavi2011-01-091-25/+25
| |
| * Bug 7931; Added missing semicolon and replaced '!=' with '!==' to allow null ↵Xavi2011-01-091-2/+2
| | | | | | | | through
| * Bug 7931; Fixed bug that caused scrollTop and scrollLeft setters to return ↵Xavi2011-01-091-14/+14
| | | | | | | | null when called on an empty jquery object
* | merge with master and resolve more conflictslouisremi2011-04-121-3/+5
|\ \
| * \ Merge branch 'master' of https://github.com/inukshuk/jquery into inukshuk-masterjeresig2011-04-121-3/+5
| |\ \ | | | | | | | | | | | | | | | | Conflicts: test/unit/offset.js
| | * | Use parseFloat instead of parseInt to read CSS values.Sylvester Keil2011-01-151-3/+5
| | |/ | | | | | | | | | This fixes #7730 and #7885.
* | / second batchlouisremi2011-04-111-1/+1
|/ /
* | Fix test cases for bug #8316 fix.timmywil2011-03-311-3/+3
| | | | | | | | | | | | - Removed special page, just needed another test in the fixed offset tests - Checks it's position related to scrolling
* | Fixes #8203. Remove some misguided nulling of elements done in the name of ↵Dave Methvin2011-03-301-1/+0
| | | | | | | | IE memory cleanup. Based on a patch by davidmurdoch in pull 226.
* | Offset setter for fixed position elements in Webkit. Fixes #8316.Michael Murray2011-03-241-2/+2
| |
* | Fix some whitespace issues.Anton M2011-02-151-1/+1
| |
* | Merge branch 'master' of https://github.com/russtacular/jquery into ↵John Resig2011-01-181-1/+1
|\ \ | |/ |/| | | russtacular-master
| * jQuery.fn.offset no longer returns ClientRect object for disconnected elementsRussell Holbrook2010-11-221-1/+1
| | | | | | | | | | Instead of returning box, which is a ClientRect, we take the top and left box values and place them into a generic object.
* | Clean trailing whitespace from all files.Colin Snover2010-12-301-5/+5
|/
* Make sure that when multiple variables are being declared that assignments ↵John Resig2010-11-091-5/+11
| | | | are each done on their own line.
* Make sure that we don't attempt to handle scrolling when the node is ↵John Resig2010-10-141-5/+8
| | | | disconnected from the document. Fixes #7190.
* Return the zeroed-out bounding box instead of passing it on.jeresig2010-10-101-1/+1
|
* Adjust fallback top/left to just be 0 for disconnected DOM nodes. Follow-up ↵John Resig2010-09-291-1/+1
| | | | to cf672a2e7a886cac5ae62f6772c6b4b43b19a2fc, thanks to @jitter for the catch.
* Make sure that .offset() doesn't fail against disconnected DOM nodes. Fixes ↵John Resig2010-09-281-3/+9
| | | | #4996.
* Unify the means of detecting a window across the library. Fixes jQuery UI ↵jeresig2010-09-221-1/+1
| | | | bug #5438 and jQuery bugs #6575 and 6088.
* Applied the RegExp issues reported by Jeff Robinson here: ↵jeresig2010-09-221-3/+6
| | | | http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062.
* Split apart jQuery.css into jQuery.css (computed values) and jQuery.style ↵jeresig2010-09-161-9/+9
| | | | (currently set values).
* Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-0/+4
| | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* First pass at unifying the various CSS methods in jQuery (jQuery.style, ↵John Resig2010-09-051-12/+12
| | | | jQuery.curCSS, and jQuery.css are now all under jQuery.css).
* Fixed an issue with setting offset of absolutely positioned element that has ↵Brandon Aaron2010-03-221-6/+18
| | | | no position values ("auto"). Fixes #5781.
* Fix setting only one property at a time in .offset({})Brandon Aaron2010-03-221-5/+8
|
* Fixed some cases where expression, expression was used and shouldn't be.jeresig2010-03-011-3/+8
|
* Use correct window reference in offset to work properly cross-frame. Fixes ↵brandonaaron2010-02-271-4/+11
| | | | #6190.
* fixed offset(coordinates) returns null when no matching elements in jQuery ↵Karl Swedberg2010-01-241-8/+8
| | | | object (fixes ticket #5888)
* Re-ordering the args to setOffset() in case people were relying upon the old ↵jeresig2010-01-071-3/+3
| | | | order (doubtful).
* Added in support for .offset(Function).jeresig2010-01-071-10/+15
|
* Rather than declaring empty anonymous functions all around, introduce and ↵jeresig2009-12-311-1/+1
| | | | use a single empty function. Thanks to Matt Kruse for the suggestion.
* Standardize on using double-quotes for string literals.jeresig2009-12-211-19/+19
|
* Made a number of spacing changes to bring the code more-inline with the ↵jeresig2009-12-211-11/+32
| | | | jQuery Core Style Guideline.
* Fixed the case where getComputedStyled was assumed to exist if ↵John Resig2009-11-071-2/+2
| | | | getBoundingClientRect did (which isn't the case on the Playstation 3). Fixes #5467.
* offset is now a setterBrandon Aaron2009-09-151-6/+37
|
* Fix for #4972. Dreamweaver CS4 crashes on offset module. Thanks mike.helgesonBrandon Aaron2009-07-251-2/+1
|
* revision 6494 accidentally reverted some changes to offset moduleBrandon Aaron2009-07-251-33/+64
|
* add scrollTop/Left tests and fix for IEBrandon Aaron2009-07-241-76/+43
|
* Standardize on using .nodeName in place of .tagName. Fixes jQuery bug #4923.John Resig2009-07-191-3/+3
|
* Rewrote .offsetParent() to work against the full jQuery set, added tests. ↵John Resig2009-07-191-5/+7
| | | | Fixes #4922.
* Made a number of stylistic changes to the offset code (braces, declarations, ↵John Resig2009-07-191-30/+61
| | | | etc.).