fix case where cssText not reflected properly in attribute