You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rgba color output: to clamp or not to clamp? #1693
Beside math ops, those out-of-range color values may rise as a result of some color functions. (Currently I'm working on blending functions with proper transparency handling, see #1675, and came across this inconsistency).
I think we should clamp. If browsers don't clamp, its a annoying bug to have.in less.
if for some reason browsers start allowing more than 256 color components we need to make bigger more general changes and handle that so I don't think clamping will ever hurt us.
Activity
lukeapage commentedon Nov 30, 2013
I think we should clamp. If browsers don't clamp, its a annoying bug to have.in less.
if for some reason browsers start allowing more than 256 color components we need to make bigger more general changes and handle that so I don't think clamping will ever hurt us.