support for style setAttribute and getAttribute