From 74022a10da9e4b72919a954a2d2284ae65a2a4be Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 23 Jan 2009 20:45:02 +0000 Subject: There's 400 gradians in 360 degrees. svn path=/trunk/libcss/; revision=6194 --- src/parse/properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse/properties.c') diff --git a/src/parse/properties.c b/src/parse/properties.c index b3c9c1c..31ba6f9 100644 --- a/src/parse/properties.c +++ b/src/parse/properties.c @@ -579,7 +579,7 @@ css_error parse_azimuth(css_language *c, if (length < FMULI(F_360, -1) || length > F_360) return CSS_INVALID; } else if (unit == UNIT_GRAD) { - if (length < FMULI(F_100, -1) || length > F_100) + if (length < FMULI(F_400, -1) || length > F_400) return CSS_INVALID; } else if (unit == UNIT_RAD) { if (length < FMULI(F_2PI, -1) || length > F_2PI) -- cgit v1.2.3