I think it comes from an Opera bug for some element with a specific
display. YUI already handles problem with 'inline', but I think there's
also a problem with 'table-row'. Can you try the following patch:
--- Style.js (revision 1233)
+++ Style.js (working copy)
@@ -295,8 +295,11 @@
if (tagName === 'BODY' || tagName === 'HTML') {
break;
}
- c.x -= parent.scrollLeft;
- c.y -= parent.scrollTop;
+ var disp = self.getStyle(parent, 'display');
+ if (disp != 'inline' && disp != 'table-row') {
+ c.x -= parent.scrollLeft;
+ c.y -= parent.scrollTop;
+ }
if (parent.parentNode) {
parent = parent.parentNode;
} else {
---------------------------------
Thanks,
--
Thomas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---