GNOME Bugzilla – Bug 667485
gdk_rgba_parse error checking
Last modified: 2012-01-09 05:57:25 UTC
It looks to me as-if gdk_rgba_parse doesn't do much of the error checking that it promises. "rgb(,,)" is black. "rgb(%,%,%)" is black. "rgb(nan,nan,nan)" is just weird. "rgb(inf,inf,inf)" is white. One would argue that is ok. "rgb(1p12,0,0)" is red, I think. "rgb(100%,5d1%,5d1%)" is pink on win32. "rgb(0,0,0)moo" is black. (From reading the code; apologies is one or two items are inaccurate.)