Skip to main content

Bug Tracker

Side navigation

#749 closed bug (fixed)

Opened January 03, 2007 02:13PM UTC

Closed January 11, 2007 10:35AM UTC

Last modified March 15, 2012 12:45PM UTC

parseColor function incorrectly parses 6-character-long color values

Reported by: puzzles@jasmin.hu Owned by: stefan
Priority: major Milestone:
Component: interface Version:
Keywords: color Cc:
Blocked by: Blocking:
Description

The jQuery.fx.parseColor function can't process 6-character-long color strings, because it always recognizes the string as a 3-character-long color value. A solution could be to check for the longer format first and then move on to the shorter one, or alternatively, the regular expression for the short format could be corrected.

Whichever the case, there's also a syntax error in the function. The 'color' parameter is used as 'c' in line 373.

Attachments (0)
Change History (1)

Changed January 11, 2007 10:35AM UTC by stefan comment:1

resolution: → fixed
status: newclosed