cssutils icon indicating copy to clipboard operation
cssutils copied to clipboard

Property Color unset invalid value

Open Thokas opened this issue 3 years ago • 1 comments

I'm only using this Package to validate CSS-Values, but I've stumbled upon the case where a color value is set to 'unset' and the profile validation (cssutils.profile.validate) returns a false for this.

Expected Behavior

cssutils.profile.validate('color', 'unset') is True

Actual Behavior

cssutils.profile.validate('color', 'unset') is False

Thokas avatar Feb 11 '22 14:02 Thokas

Looks like unset is a legitimate setting. I welcome a patch to fix it.

jaraco avatar Feb 23 '22 01:02 jaraco