Fix for firefox.
Setting the gradient fill for an svg rect in css doesn't work.  Have to specify it as an attribute of the rect element.
Fixes for unit tests under firefox.