color: Fix documentation of 'hsla()' parsing

The documentation for the s and l components is incorrect; these have to
be percentage values and must have a '%' character right after the
number.

Based on a patch by: Pablo Pissanetzky <pablo@trickplay.com>

https://bugzilla.gnome.org/show_bug.cgi?id=662818
This commit is contained in:
Emmanuele Bassi 2014-02-10 17:54:06 +00:00
parent 2662788bbc
commit 33ebe92fdb

View File

@ -656,9 +656,9 @@ parse_hsla (ClutterColor *color,
* and 100%; the percentages require the '%' character. The 'a' value, if
* specified, can only be a floating point value between 0.0 and 1.0.
*
* In the hls() and hlsa() formats, the 'h' value (hue) it's an angle between
* In the hls() and hlsa() formats, the 'h' value (hue) is an angle between
* 0 and 360.0 degrees; the 'l' and 's' values (luminance and saturation) are
* a floating point value between 0.0 and 1.0. The 'a' value, if specified,
* percentage values in the range between 0% and 100%. The 'a' value, if specified,
* can only be a floating point value between 0.0 and 1.0.
*
* Whitespace inside the definitions is ignored; no leading whitespace