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: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | unfiled | Version: | 1.5b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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 (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → 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 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
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!
jsFiddle: http://jsfiddle.net/vcLwG/