jquery/jquery-color — Issue #25: Error in browsers that do not support rgba when applying backgroundColor to detached DOM node
Author: nrbrook
Created: 2011-10-20 16:16:25+00:00
State: open

As the title. In IE 7 for example, try

$('

').css('backgroundColor', 'rgba(199,199,199,0.5)')

'Object required'

This is because the backgroundColor css set hook tries to use elem.parentNode, and as the node doesn't have a parent then the error occurs.