aboutsummaryrefslogtreecommitdiffstats
path: root/src/offset.js
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #12749, correctly detect position() for position:fixed elements, ↵Merrifield, Jay2012-10-171-18/+24
| | | | closes gh-991
* Fix #12536. Start at .offset() 0,0 if no getBoundingClientRect.Dave Methvin2012-09-141-9/+14
| | | | This lets us still add the other offset components to the number so they're less wrong. Affects BlackBerry 5 and iOS 3, everyone else has gBCR.
* Fix #12534. Don't die on browsers lacking getBoundingClientRect.Dave Methvin2012-09-131-2/+2
|
* Fix #11962. Standardize getter return values for empty sets.Uri Gilad2012-07-091-2/+2
|
* Fix #8482, offsetParent should not return null. Closes gh-847.Nowres Rafid2012-07-061-1/+1
|
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* Followup gh-796. Eliminate try-catch in oldIE, closes gh-799.Oleg2012-05-281-8/+4
|
* Fix #11823. Remove webkitConvertPointFromNodeToPage. Closes gh-796.Oleg2012-05-271-42/+26
|
* Fix #11721. Remove jQuery.boxModel, deprecate jQuery.support.boxModel.Mike Sherov2012-05-151-4/+3
| | | | | | This removes all internal uses of `jQuery.support.boxModel`. jQuery has never run unit tests with Quirks Mode and has not even feigned support for several years, so these remnants weren't doing much except giving false hope. For now, `jQuery.support.boxModel` continues to have a value indicating whether the W3C box model is *generally* in use, but be aware that this is easily overridden on an element-by-element basis by the `box-model` CSS property. So don't trust this value.
* Fix #10996, simplify offset code by forsaking ancient browsers.Mike Sherov2012-04-051-50/+7
|
* 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.