Bug Tracker

Opened 13 years ago

Closed 13 years ago

#5627 closed bug (fixed)

Replace broken on css return value

Reported by: DumpsterDoggy Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.4a1
Keywords: css, replace Cc:
Blocked by: Blocking:

Description

The following test works in 1.3.2:

test("can set and retrieve width", function() {
	var width = $("<p/>").css({width:100}).css("width").replace(/px/,"");
	equals(width, 100);
});

but fails in 1.4a1 with the message:

$("<p/>").css({width: 100}).css("width").replace is not a function

Change History (1)

comment:1 Changed 13 years ago by john

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.