summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/html/css-parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/html/css-parse.c b/source/html/css-parse.c
index ff364fc7..93916344 100644
--- a/source/html/css-parse.c
+++ b/source/html/css-parse.c
@@ -655,6 +655,7 @@ static fz_css_condition *parse_condition(struct lexbuf *buf)
if (accept(buf, ':'))
{
+ accept(buf, ':'); /* swallow css3 :: syntax and pretend it's a normal pseudo-class */
if (buf->lookahead != CSS_KEYWORD)
fz_css_error(buf, "expected keyword after ':'");
c = fz_new_css_condition(buf->ctx, ':', "pseudo", buf->string);