element and view attribute changes