fromCssValue() should probably check for valid input like the other types now.