summaryrefslogtreecommitdiff
path: root/src/parse/properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/properties.c')
-rw-r--r--src/parse/properties.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse/properties.c b/src/parse/properties.c
index 0316d9e..8679d64 100644
--- a/src/parse/properties.c
+++ b/src/parse/properties.c
@@ -6081,11 +6081,12 @@ css_error parse_volume(css_language *c,
} else if (token->type == CSS_TOKEN_NUMBER) {
size_t consumed = 0;
css_string tmp = { token->ilower->len,
- (uint8_t *) token->ilower };
+ (uint8_t *) token->ilower->data };
length = number_from_css_string(&tmp, false, &consumed);
if (consumed != token->ilower->len)
return CSS_INVALID;
+ parserutils_vector_iterate(vector, ctx);
value = VOLUME_NUMBER;
} else {
/* Yes, really UNIT_PX -- percentages MUST have a % sign */