Bug 827161, part 1 - Only dispatch 'change' events if an HTMLInputElement's sanitized value has changed. r=smaug
Bug 827161, part 2 - Implement HTML 5's ValidityState.badInput and implement the state for HTMLInputElement's number type. r=smaug