Bug Tracker

Opened 12 years ago

Closed 12 years ago

#7999 closed bug (invalid)

inconsistent offsetParent of "absolute DOM" in IE 6 8 with other browsers

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5b1
Keywords: Cc:
Blocked by: Blocking:


the demo is simple

<!doctype html> <html> <head>

<meta charset="gbk" /> <title></title>

</head> <body>

<div id="test" style="position: absolute;"> </div> <script src="jquery-1.5b1.js"></script> <script>

var test=$('#test'); alert(test.offsetParent()[0]===document.body);


</body> </html>

in IE 6 7, the result is false, and others is true; in IE 6 7, the offsetParent.nodeName is HTML!!

Change History (3)

comment:1 Changed 12 years ago by anonymous

comment:2 Changed 12 years ago by snover

Owner: set to [email protected]
Status: newpending

I am not clear as to how this is an issue. Could you please provide a test case demonstrating a problem that occurs as a result of this?

comment:3 Changed 12 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.