Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#3280 closed bug (invalid)

.css('background-color', '#') Throws JS Error in IE

Reported by: jdsharp Owned by:
Priority: minor Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc: jdsharp, flesler
Blocked by: Blocking:


The following throws a JS error in IE saying "invalid property value"

$(function() {

$('body').css('background-color', '#');


Attached is an example file

Attachments (1)

jquery.html (514 bytes) - added by jdsharp 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by jdsharp

Attachment: jquery.html added

comment:1 Changed 14 years ago by flesler

Cc: jdsharp flesler added
need: ReviewTest Case

Why would you set # to the background-color ? IE's reaction seems "logical" to me.

Can you provide a test case ?

comment:2 Changed 14 years ago by dmethvin

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.