prototype: Make sure the WebKit redefinition of Element#cumulativeOffset uses Element._returnOffset. Closes #9245.

This commit is contained in:
Sam Stephenson 2007-08-13 15:15:01 +00:00
parent 11f25aa995
commit c603fc5d42
2 changed files with 3 additions and 1 deletions

View File

@ -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]

View File

@ -909,7 +909,7 @@ else if (Prototype.Browser.WebKit) {
element = element.offsetParent;
} while (element);
return [valueL, valueT];
return Element._returnOffset(valueL, valueT);
};
}