Skip to main content

Bug Tracker

Side navigation

#2032 closed bug (fixed)

Opened December 10, 2007 07:18AM UTC

Closed December 11, 2007 03:19AM UTC

clientLeft should be clientTop in event.fix?

Reported by: arrix Owned by:
Priority: major Milestone: 1.2.2
Component: event Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:
event.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc.clientLeft || 0);

I think doc.clientLeft should be doc.clientTop

Attachments (0)
Change History (2)

Changed December 10, 2007 04:24PM UTC by davidserduke comment:1

This issue is not in 1.2.1 but rather in SVN rev 4092 (and earlier). It also appears to be in Brandon's event enhancement. I agree with the author this looks odd. If it is correct we should probably put in a meaningful comment to explaining what is going on.

Changed December 11, 2007 03:19AM UTC by brandon comment:2

resolution: → fixed
status: newclosed

It was a mistake and is now fixed in Rev [4099]