> So, on Safari, the code for the checkbox passes. On Firefox, it does not. > Funny thing, the <input> element has a style for the background color, but > .css('background-color') is not returning the color I set. It is returning > rgb(255,255,255).
What do you mean by "in Safari the code passes" ? >From my own testing, setting a background-color on checkboxes has visual effect only in IE and Opera... but not FF, Safari and Chrome. Also, what do you mean by "the input element has a style for the background color" ?