Ticket #7739 (closed bug: invalid)
Regression slide breaks position:relative for IE
| Reported by: | rob@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.6 |
| Component: | effects | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description (last modified by snover) (diff)
Occurs in IE6 and IE7 with all jQuery versions.
Situation: You want to expand a block of content, that has css-positioned elements. In current jQuery after expansion IE does not correctly assign layout to the block.
In previous versions of jQuery, the expanded block was left at display:block, and jQuery acted well.
Bug occurring in Version 1.4.4 w/ IE. http://robcolburn.com/temp/jquerybug/bug.htm
Bug not occurring in Version 1.4.2 w/ IE. http://robcolburn.com/temp/jquerybug/before.htm
My quick patch for compatibly. http://robcolburn.com/temp/jquerybug/fixed.htm
Change History
comment:2 follow-up: ↓ 3 Changed 2 years ago by snover
- Status changed from new to closed
- Resolution set to invalid
Thanks for the report, but this is not a jQuery bug. jQuery doesn’t function in quirks mode. You need a DOCTYPE.
comment:3 in reply to: ↑ 2 Changed 2 years ago by jitter
- Status changed from closed to reopened
- Resolution invalid deleted
- Component changed from unfiled to effects
Replying to snover:
Thanks for the report, but this is not a jQuery bug. jQuery doesn’t function in quirks mode. You need a DOCTYPE.
That's why I made the jsfiddle version which is valid xhtml. It still fails in at least IE6 (also did with 1.4.2). There is no animation and the green div jumps all over the place
comment:4 Changed 2 years ago by snover
- Status changed from reopened to closed
- Resolution set to invalid
- Description modified (diff)
This is still not a jQuery bug. The expand is working properly; there are CSS rendering bugs in IE that are beyond jQuery’s responsibility, and this is one of them. See position:relative and overflow in Internet Explorer. It’s also worth noting this issue does not exist in IE8, despite what the OP says.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

jsfiddle version of the test case linked to above