Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5404 closed bug (fixed)

append() call with multiple args works in Firefox, drops first arg in WebKit

Reported by: jan@… Owned by:
Priority: major Milestone: 1.3.2
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

A call to append() whose arguments contain a mixture of text nodes and jQuery objects will have expected behavior in Firefox 3.5.3, but not in WebKit (Chrome 3.0.195.27, Safari 4.0.3).

/* Sample, use on an HTML 5 page. */ var d = $("<div>you</div>"); $("body").append("Hey ", d, " guys");

Result in Firefox (as expected): Hey you guys

Result in WebKit (drops the first argument): you guys

Change History (2)

comment:1 Changed 10 years ago by pbcomm

This works with nightly build of jQuery. The fix will roll out with 1.4.

comment:2 Changed 9 years ago by dmethvin

Resolution: fixed
Status: newclosed

Fixed in 1.4.

Note: See TracTickets for help on using tickets.