Don't set DOM attributes back to their previous value when an invalid value is set (to conform to HTML's way of doing things)