-
Notifications
You must be signed in to change notification settings - Fork 815
[css-values][css-color] apparent contradiction #3270
Copy link
Copy link
Closed
Labels
Closed Accepted as Obvious BugfixFixed an obvious error with the obvious solution.Fixed an obvious error with the obvious solution.Commenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.css-color-3css-color-4Current WorkCurrent Workcss-values-3css-values-4Current WorkCurrent Workcss-values-5
Description
Activity
Metadata
Metadata
Assignees
Labels
Closed Accepted as Obvious BugfixFixed an obvious error with the obvious solution.Fixed an obvious error with the obvious solution.Commenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.Commenter has indicated satisfaction with the resolution / edits.css-color-3css-color-4Current WorkCurrent Workcss-values-3css-values-4Current WorkCurrent Workcss-values-5
(found by @TalbotG)
css-values-3 (and 4) say that
However, there is at least one exception: the
rgb()function, which says:and gives examples of values below 0 or above 255.
So, since there are some cases of properties doing restriction on the range other than at parsing time, we should probably change the sentence in css-values to something like this:
This makes it clear which requirement takes precedence instead of just having a contradiction.