<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,5 @@
+* Fix the deprecated Position.withinIncludingScrollOffsets. [jddalton]
+
 * Consolidate document.body getOffsetParent checks into a private utility method. [staaky, jddalton]
 
 * Fix issues with Element#cumulativeScrollOffset and Opera &lt;9.5. [staaky, jddalton]</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -67,8 +67,8 @@ var Position = {
     var offsetcache = Element.cumulativeScrollOffset(element),
     dimensions = Element.getDimensions(element);
 
-    this.xcomp = x + offsetcache[0];
-    this.ycomp = y + offsetcache[1];
+    this.xcomp = x + offsetcache[0] - this.deltaX;
+    this.ycomp = y + offsetcache[1] - this.deltaY;
     this.offset = Element.cumulativeOffset(element);
 
     return (this.ycomp &gt;= this.offset[1] &amp;&amp;</diff>
      <filename>src/deprecated.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a134431d807463274176f6db457a2001e9b7e3a4</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Dupont</name>
    <email>prototype@andrewdupont.net</email>
  </author>
  <url>http://github.com/sstephenson/prototype/commit/c84acf07cbea49b7dd71e1f00cc737b8baa2acb8</url>
  <id>c84acf07cbea49b7dd71e1f00cc737b8baa2acb8</id>
  <committed-date>2008-07-16T11:04:50-07:00</committed-date>
  <authored-date>2008-07-16T11:04:50-07:00</authored-date>
  <message>Fix the deprecated Position.withinIncludingScrollOffsets. [#196 state:resolved]</message>
  <tree>18141083b827ac68f9531b58d4c656125e97e0fb</tree>
  <committer>
    <name>Andrew Dupont</name>
    <email>prototype@andrewdupont.net</email>
  </committer>
</commit>
