summaryrefslogtreecommitdiff
path: root/src/parse/properties/utils.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-17 16:55:46 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-17 16:55:46 +0000
commit8bccb05e6b8b0870fbbc5bab83c228f11d129caf (patch)
tree29fee56d35ac434a93ce530189093a0ca1b7883d /src/parse/properties/utils.c
parent0b8fa4588234105a91ecd5dbd6630f3be9122eb6 (diff)
downloadlibcss-8bccb05e6b8b0870fbbc5bab83c228f11d129caf.tar.gz
libcss-8bccb05e6b8b0870fbbc5bab83c228f11d129caf.tar.bz2
Colour names are case insensitive
svn path=/trunk/libcss/; revision=8605
Diffstat (limited to 'src/parse/properties/utils.c')
-rw-r--r--src/parse/properties/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/properties/utils.c b/src/parse/properties/utils.c
index 3cd3cb2..b0ca311 100644
--- a/src/parse/properties/utils.c
+++ b/src/parse/properties/utils.c
@@ -54,7 +54,7 @@ css_error parse_colour_specifier(css_language *c,
}
if (token->type == CSS_TOKEN_IDENT) {
- error = parse_named_colour(c, token->idata, result);
+ error = parse_named_colour(c, token->ilower, result);
if (error != CSS_OK && c->sheet->quirks_allowed) {
error = parse_hash_colour(token->idata, result);
if (error == CSS_OK)