On Safari (Mac 3.0.4) the following code sample logs "position { x: 0,
y: 11 }". The expected value (as seen on Firefox, for example) is
"position { x: 0, y: 0 }".Regards, etc... David <html> <script type="text/javascript" src="http://www.mochikit.com/MochiKit/ MochiKit.js"></script> <script type="text/javascript"> test_js = { a_position : function() { var a_e = getElement("a"); a_e.style.backgroundColor = 'pink'; MochiKit.Logging.log("position", MochiKit.Style.getElementPosition(a_e)) }, end : 0 } </script> <style type="text/css"> table { padding: 0px; } body { margin: 0; padding: 0; } </style> <body> <table cellpadding="0" cellspacing="0"> <tr> <td width="100" height="40" id="a"> <a href="" onmouseover="test_js.a_position()">One</a> </td> </tr> </table> </body> </html> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
