Closed
Bug 116511
Opened 23 years ago
Closed 23 years ago
element.offset* incorrect for relatively positioned elements inside table, td, and th
Categories
(Core :: DOM: Core & HTML, defect, P2)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla0.9.8
People
(Reporter: caillon, Assigned: jst)
References
()
Details
(Whiteboard: [HAVE FIX])
Attachments
(3 files)
9.37 KB,
text/html
|
Details | |
9.56 KB,
text/html
|
Details | |
3.14 KB,
patch
|
fabian
:
review+
vidur
:
superreview+
|
Details | Diff | Splinter Review |
On AIM.com the menus in the top left are positioned badly. I'm filing this as critical because it prevents me from downloading AIM at all while using Mozilla 2001122108. There seems to be no other way to get to the downloads area without the menus. I am assuming that they are using old offset code before ours got fixed, but haven't looked at the code extensively. For reference, see bug 90617 and bug 81290.
Comment 1•23 years ago
|
||
This menu works in NS 6.2.1/RTM, and Mozilla 0.9.5 and 0.9.6 but not in recent Mozilla or NS 6.2+ builds. http://aim.aol.com/aimnew/newreg/aim_reg.css http://aim.aol.com/aimnew/newreg/aim_reg.css http://www.aim.com/chrome_data/model.js http://www.aim.com/chrome_data/menu_config.js http://www.aim.com/chrome_data/menu_lib.js http://ads.web.aol.com/file/adsWrapper.js http://ads.web.aol.com/file/adsEnd.js Chris, this may be a browser bug and not evangelism
DOM 0
Assignee: bclary → jst
Component: English: US → DOM Level 0
Product: Tech Evangelism → Browser
QA Contact: zach → desale
Version: unspecified → other
Assignee | ||
Comment 4•23 years ago
|
||
Oh nice, the reason for this is that the .offsetParent of the DIV that's shown is the BODY in IE, and in mozilla it's the closest TD, as it IMO should be in IE too. Does anyone have any ideas why the .offsetParent of the submenu DIV element is the BODY in IE in this case?
Assignee | ||
Comment 5•23 years ago
|
||
Assignee | ||
Comment 6•23 years ago
|
||
The reason the .offsetParent is the BODY in IE is that the DIV in question is relatively positioned. Patch coming up.
Severity: critical → normal
Status: NEW → ASSIGNED
OS: Linux → All
Priority: -- → P2
Hardware: PC → All
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.8
Assignee | ||
Comment 7•23 years ago
|
||
Comment 8•23 years ago
|
||
Comment on attachment 62612 [details] [diff] [review] Proposed fix, and also eliminate some extra string copying r=fabian
Attachment #62612 -
Flags: review+
Assignee | ||
Comment 9•23 years ago
|
||
*** Bug 117455 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•23 years ago
|
Summary: aim.com - menus positioned badly, can't "Get AIM" → element.offset* incorrect for relatively positioned elements inside table, td, and th
Assignee | ||
Comment 10•23 years ago
|
||
*** Bug 116028 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
Additional URLs to verify from Bug 116028: http://www.cbsmarketwatch.com http://home.netscape.com/ex/shak/shopping/index.html
Comment 12•23 years ago
|
||
Comment on attachment 62612 [details] [diff] [review] Proposed fix, and also eliminate some extra string copying sr=vidur
Attachment #62612 -
Flags: superreview+
Assignee | ||
Comment 13•23 years ago
|
||
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•