Skip to main content

Bug Tracker

Side navigation

#6791 closed bug (duplicate)

Opened July 14, 2010 05:17PM UTC

Closed October 04, 2010 09:38PM UTC

Animate on IMG elems incorrectly sets style.display to "block"

Reported by: shaungrady Owned by:
Priority: undecided Milestone: 1.4.3
Component: effects Version: 1.4.2
Keywords: animate update img display Cc:
Blocked by: Blocking:
Description

When running an animation on an IMG elem, the fx update function sets the style.display to "block". IMG elems can have both dimensions set while in their native display-type of "inline".

Patch of line 5738

From: this.elem.style.display = "block";

To: this.elem.style.display = this.elem.tagName === "IMG" ? "inline" : "block";

Attachments (0)
Change History (1)

Changed October 04, 2010 09:38PM UTC by snover comment:1

priority: → undecided
resolution: → duplicate
status: newclosed

Duplicate of #2185.