summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-01-18 00:46:07 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-01-18 00:46:07 +0000
commit41237e25e6548c53db2ffbe5e1b98f82331fac2b (patch)
tree9bb65dab05fd0803f2295917a1112f20c2a5c3b2
parent5bfec06a8d214450419c4a432ad1b418ede97a9d (diff)
downloadlibcss-41237e25e6548c53db2ffbe5e1b98f82331fac2b.tar.gz
libcss-41237e25e6548c53db2ffbe5e1b98f82331fac2b.tar.bz2
Fix pitch
svn path=/trunk/libcss/; revision=6128
-rw-r--r--src/parse/properties.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parse/properties.c b/src/parse/properties.c
index 922ea6c..b8539d3 100644
--- a/src/parse/properties.c
+++ b/src/parse/properties.c
@@ -4436,18 +4436,23 @@ css_error parse_pitch(css_language *c,
flags = FLAG_INHERIT;
} else if (token->type == CSS_TOKEN_IDENT &&
token->ilower == c->strings[X_LOW]) {
+ parserutils_vector_iterate(vector, ctx);
value = PITCH_X_LOW;
} else if (token->type == CSS_TOKEN_IDENT &&
token->ilower == c->strings[LOW]) {
+ parserutils_vector_iterate(vector, ctx);
value = PITCH_LOW;
} else if (token->type == CSS_TOKEN_IDENT &&
token->ilower == c->strings[MEDIUM]) {
+ parserutils_vector_iterate(vector, ctx);
value = PITCH_MEDIUM;
} else if (token->type == CSS_TOKEN_IDENT &&
token->ilower == c->strings[HIGH]) {
+ parserutils_vector_iterate(vector, ctx);
value = PITCH_HIGH;
} else if (token->type == CSS_TOKEN_IDENT &&
token->ilower == c->strings[X_HIGH]) {
+ parserutils_vector_iterate(vector, ctx);
value = PITCH_X_HIGH;
} else {
error = parse_unit_specifier(c, vector, ctx, UNIT_HZ,