jaraco / jaraco/cssutils

Property Color unset invalid value

Open
#19 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Python
Stars
92
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the cssutils.profile.validate entry point and reproduce the reported check with the color property and the value 'unset'. Read the surrounding color-value validation rules to determine how this case is handled. Done means the validation returns True for this input without changing the expected behavior for other color values.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.