diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-04-14 19:40:44 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-04-14 19:40:44 +0200 |
commit | 7fabedce909fe18dd9aa853943c0e4cec7ffb866 (patch) | |
tree | 022e07841188e7951b35e77712588871ba8da940 /source | |
parent | 3fdc712c45c2f91d04e44295cc7586434e23ffe7 (diff) | |
download | mupdf-7fabedce909fe18dd9aa853943c0e4cec7ffb866.tar.xz |
epub: Ignore CSS3 ::before pseudo-element syntax.
Diffstat (limited to 'source')
-rw-r--r-- | source/html/css-parse.c | 1 |
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); |