Bugzilla 51032: Fixed regression due to oversight in refactoring text-decoration. Invalid values properly reported as errors again, instead of causing a NPE.