The problem is not with the rendering in those browsers. The problem is that
the return value of window.getComputedStyle(test,
null).getPropertyValue("margin-left") is "0px" which is clearly not the used
value for margin-left.
Also, to be clear, I wasn't looking for a workaround for this issue but just
looking for a second opinion if this is a bug that happens to be implemented
cross most of the major browsers. It was the consistency that made me feel
like I must be incorrect.
Also, strictly for getting dimensions I've had good success with
getBoundingClientRect<https://developer.mozilla.org/En/DOM/Element.getBoundingClientRect>,
but that's another discussion :-]
--
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]