On May 12, 5:32 am, Joel Dart <[email protected]> wrote:
> > Joel,
> > that wouldn't stop me from developing in Javascript ;-)
>
> Haha, no way! I can always just switch to solely node ;-]
>
> > I understand this is not the right answer to your question, it wasn't easy 
> > either
> > guessing why these differences still exists in 2011 browsers.
>
> Yeah, offsetLeft works for most cases.  I was mostly just being sure I wasn't 
> missing some part of the spec since nearly everyone was doing it the same way.
>
The offsetLeft/Top and offsetParent are inconsistent between browsers
and versions. There are also inconsistencies with the elements that it
is used on. The CSSOM Views draft was intended to codify existing
behavior but that changed a few times and the result was actually a
divergence in IE8 and IE9. These details are complicated an
uninteresting (to me). Avoiding these properties is a safe bet.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to