HTMLElement test of attribute set/remove