#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)
Change History (3)
Changed 14 years ago by
Attachment: | jquery.html added |
---|
comment:1 Changed 14 years ago by
Cc: | jdsharp flesler added |
---|---|
need: | Review → Test Case |
comment:2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Why would you set # to the background-color ? IE's reaction seems "logical" to me.
Can you provide a test case ?