Skip to main content

Bug Tracker

Side navigation

#5260 closed bug (fixed)

Opened September 16, 2009 08:01PM UTC

Closed December 16, 2009 03:07AM UTC

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/

Attachments (0)
Change History (2)

Changed September 24, 2009 03:04AM UTC by dmethvin comment:1

component: unfilledcore

Changed December 16, 2009 03:07AM UTC by dmethvin comment:2

resolution: → fixed
status: newclosed

The regexp now reads like this in 1.4a1:

	rnumpx = /^-?\\d+(?:px)?$/i,