summaryrefslogtreecommitdiff
path: root/src/parse/properties.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-01-18 01:13:31 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-01-18 01:13:31 +0000
commit9412eddfe6f9bb9ccb74ef80a387f671a43bc9cf (patch)
treeaa825b4b50382d1aba9f9bf625166a880f71f86f /src/parse/properties.c
parente0a4ce212ac88ff2140df25dbbc6df3ca881f5cb (diff)
downloadlibcss-9412eddfe6f9bb9ccb74ef80a387f671a43bc9cf.tar.gz
libcss-9412eddfe6f9bb9ccb74ef80a387f671a43bc9cf.tar.bz2
Fix text-decoration
svn path=/trunk/libcss/; revision=6135
Diffstat (limited to 'src/parse/properties.c')
-rw-r--r--src/parse/properties.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parse/properties.c b/src/parse/properties.c
index a6f7d6e..0316d9e 100644
--- a/src/parse/properties.c
+++ b/src/parse/properties.c
@@ -5337,9 +5337,12 @@ css_error parse_text_decoration(css_language *c,
} else
return CSS_INVALID;
+ consumeWhitespace(vector, ctx);
+
ident = parserutils_vector_peek(vector, *ctx);
if (ident != NULL && ident->type != CSS_TOKEN_IDENT)
break;
+ ident = parserutils_vector_iterate(vector, ctx);
}
}