revert attr/style to getComputedStyle