dojo._base.html dojo._getMarginBox problem with FireFox
|Reported by:||j105rob||Owned by:||elazutkin|
The computed style attributes top and left are incorrect for any position:relative element. The IRC #firefox folks stated that they have no provision in their specification for the top and left attributes and stated that the only "real" way to determine top and left would be to crawl up the hierarchy adding up the offsets.
However, it appears that modifying the "If" statement on line 790 to "if(!isNaN(sl) && !isNaN(st) && sl > 0 && st > 0)" will preserve the initial values of the top left, as defined by line 781 ("var l = node.offsetLeft - me.l, t = node.offsetTop - me.t"), since the top and left in the compute style will always be zero in this case.
I am using version 1.4.3, however, wuhi on the irc channel has determined that the issue still exists in version 1.5.