diff --git a/CHANGELOG b/CHANGELOG index 12904e1..f628d2a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Make sure the WebKit redefinition of Element#cumulativeOffset uses Element._returnOffset. Closes #9245. [mdaines] + * Make sure Element#observe and Element#stopObserving are always chainable. [sam] * Event.fire/Element#fire now returns the newly-fired event instead of the event's target element. [sam] diff --git a/src/dom.js b/src/dom.js index 937b636..9748c76 100644 --- a/src/dom.js +++ b/src/dom.js @@ -909,7 +909,7 @@ else if (Prototype.Browser.WebKit) { element = element.offsetParent; } while (element); - return [valueL, valueT]; + return Element._returnOffset(valueL, valueT); }; }