Bug Tracker

Opened 6 years ago

Closed 6 years ago

#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:
Blocked by: Blocking:

Description (last modified by snover)

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 (4)

comment:2 follow-up: Changed 6 years ago by snover

  • Resolution set to invalid
  • Status changed from new to closed

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 6 years ago by jitter

  • Component changed from unfiled to effects
  • Resolution invalid deleted
  • Status changed from closed to reopened

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 6 years ago by snover

  • Description modified (diff)
  • Resolution set to invalid
  • Status changed from reopened to closed

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.

Note: See TracTickets for help on using tickets.