summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 a3c598a..7c81267 100644
--- a/src/parse/properties.c
+++ b/src/parse/properties.c
@@ -5181,6 +5181,9 @@ css_error parse_stress(css_language *c,
if (consumed != token->ilower->len)
return CSS_INVALID;
+ if (num < 0 || num > INTTOFIX(100))
+ return CSS_INVALID;
+
value = STRESS_SET;
} else
return CSS_INVALID;