Skip to main content

Bug Tracker

Side navigation

#4831 closed bug (duplicate)

Opened June 29, 2009 10:56PM UTC

Closed November 13, 2010 07:31AM UTC

Last modified March 15, 2012 04:01PM UTC

show() can trigger flash reload bug in Firefox 3.5

Reported by: dil Owned by:
Priority: major Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

jQuery can trigger a bug in Firefox 3.5rc3 where show() causes all flash elements on a page to be reloaded. Bug info:

https://bugzilla.mozilla.org/show_bug.cgi?id=499433

The bug is triggered by calling show() on any table component element (TR, TD, TH, THEAD, TFOOT, and TBODY) on a page with flash. show() will call a code path that effectively does the following and causes the bug:

$('<tr/>').appendTo('body').remove();

The Firefox behavior is clearly some sort of bug but there is a fix that can be done in jQuery. show() adds empty elements to BODY to get the CSS display property. These can instead be added to a temporary DIV in BODY. A patch to 1.3.2 is attached.

Attachments (1)
Change History (2)

Changed November 13, 2010 07:31AM UTC by addyosmani comment:1

resolution: → duplicate
status: newclosed

Changed November 13, 2010 07:31AM UTC by addyosmani comment:2

Duplicate of #4872.