Bug Tracker

Opened 11 years ago

Closed 11 years ago

#5260 closed bug (fixed)

curCSS()

Reported by: y0ga Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

On the 829 line, used a hack to recalculate number, but the negative numbers will not be recalculated with that regular expressions. I think it should be like /\-?\d+(px)?$/i and /\-?\d/

Change History (2)

comment:1 Changed 11 years ago by dmethvin

Component: unfilledcore

comment:2 Changed 11 years ago by dmethvin

Resolution: fixed
Status: newclosed

The regexp now reads like this in 1.4a1:

	rnumpx = /^-?\d+(?:px)?$/i,
Note: See TracTickets for help on using tickets.