Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 8 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:

Description

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 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by jdsharp

Attachment: jquery.html added

comment:1 Changed 11 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 11 years ago by dmethvin

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