Skip to content

clamp rgb values to [0,1] #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 4, 2015
Merged

clamp rgb values to [0,1] #83

merged 1 commit into from
Aug 4, 2015

Conversation

dzbarsky
Copy link
Contributor

@dzbarsky dzbarsky commented Aug 4, 2015

Fixes #76

Review on Reviewable

@metajack
Copy link
Contributor

metajack commented Aug 4, 2015

r? @SimonSapin

@dzbarsky
Copy link
Contributor Author

dzbarsky commented Aug 4, 2015

@SimonSapin
Copy link
Member

I’ve written in #76 (comment) why R G and B channels are currently not clamped. My understanding of the spec is that they shouldn’t. I see that Gecko does it, but why?

bors-servo pushed a commit that referenced this pull request Aug 4, 2015
Clamp rgb values to [0,1]

#83 plus a code comment linking to discussion.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/84)
<!-- Reviewable:end -->
@bors-servo bors-servo merged commit 3233bbb into servo:master Aug 4, 2015
@dzbarsky dzbarsky deleted the clamp branch August 4, 2015 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants