replace get/set attribute with style in selector