summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/html/css-parse.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/html/css-parse.c b/source/html/css-parse.c
index e0bdc616..db17e431 100644
--- a/source/html/css-parse.c
+++ b/source/html/css-parse.c
@@ -381,6 +381,13 @@ restart:
return '-';
}
+ if (css_lex_accept(buf, '+'))
+ {
+ if (buf->c >= '0' && buf->c <= '9')
+ return css_lex_number(buf);
+ return '+';
+ }
+
if (css_lex_accept(buf, '.'))
{
if (buf->c >= '0' && buf->c <= '9')