Ticket #7999 (closed bug: invalid)
inconsistent offsetParent of "absolute DOM" in IE 6 8 with other browsers
| Reported by: | danxia.shidx@… | Owned by: | danxia.shidx@… |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.next |
| Component: | unfiled | Version: | 1.5b1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
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);
</script>
</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
comment:2 Changed 2 years ago by snover
- Owner set to danxia.shidx@…
- Status changed from new to pending
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 2 years ago by trac-o-bot
- Status changed from pending to closed
- Resolution set to invalid
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!
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

jsFiddle: http://jsfiddle.net/vcLwG/