Good question. I remember looking into this, and I think we lose a *lot* of performance if we normalize the behavior when we do a style lookup. It might be best to note the problem in the documentation.
Either way, please add a new trac ticket after you check this. http://trac.mochikit.com/newticket Thanks! On 2-Jun-06, at 10:11 AM, Arnar Birgisson wrote: > Hi there, > > Seems that getElementPosition differs between browsers if the element > has borders. Haven't checked this thorough (don't have time until > after the weekend) - but it seems IE, Safari and Opera return the > coordinates inside the border, but Firefox at the outside. I.e. > coordinates for an element with 1px border will be (-1,-1) off in FF > (maybe it's opposite, just took a quick look). > > Is this something that MochiKit should account for? > > Arnar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---