Bug Tracker

Ticket #3331 (assigned bug)

Opened 4 months ago

Last modified 3 months ago

curCSS() doesn't convert negative em/% values properly in IE

Reported by: jeff_themovie Assigned to: flesler (accepted)
Type: bug Priority: major
Milestone: 1.3 Component: event
Version: 1.2.6 Keywords:
Cc: jeff_themovie Needs: Patch

Description

This is because line 920:

if ( !/\d+(px)?$/i.test( ret ) && /\d/.test( ret ) ) {

doesn't accept negative values. I suggest:

if ( !/-?\d+(px)?$/i.test( ret ) && /-?\d/.test( ret ) ) {

Attachments

curCSS.patch (0.5 kB) - added by jeff_themovie 4 months ago.

Change History

Changed 4 months ago by flesler

  • cc set to jeff_themovie
  • need changed from Review to Patch
  • status changed from new to assigned
  • component changed from core to event
  • owner set to flesler

Changed 4 months ago by jeff_themovie

Changed 4 months ago by jeff_themovi

Patch attached. (The regex carets in the ticket description went missing for some reason...)

Changed 3 months ago by jeff_themovi

Is there anything I should do to get the resolution process going?

Note: See TracTickets for help on using tickets.