Bug Tracker

Modify

Ticket #5260 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

curCSS()

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

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

comment:1 Changed 4 years ago by dmethvin

  • Component changed from unfilled to core

comment:2 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to fixed

The regexp now reads like this in 1.4a1:

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.