Skip to main content

Bug Tracker

Side navigation

#5723 closed bug (invalid)

Opened December 29, 2009 12:40AM UTC

Closed December 29, 2009 12:58AM UTC

Last modified March 15, 2012 10:23AM UTC

animate color error: Invalid Property Value

Reported by: ekerner Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.1
Keywords: animate, color, Invalid Property Value Cc: ekerner@ekerner.com
Blocked by: Blocking:
Description

Trying to animate a hex color val throws and "Invalid Property Value" error.

$(someElement).animate({color: '#518ed3'}, 1000);

My css and xhtml both validate with W3C.

See attached demo.

Attachments (1)
  • jq_animate_color_bug.zip (68.5 KB) - added by ekerner December 29, 2009 12:41AM UTC.

    Working Demo as zip file - not malicious.

Change History (1)

Changed December 29, 2009 12:58AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

"Only properties that take numeric values are supported (e.g. backgroundColor is not supported)."

http://docs.jquery.com/Effects/animate#paramsdurationeasingcallback