changeset 800:756f3deec1b8

add missing Css_next_token() call in Css_parse_value() This fixes a loop on "border:auto" (reported by Jeremy).
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Wed, 21 Jan 2009 21:01:32 +0100
parents 9484cf6acee2
children ec76f63c44db
files src/cssparser.cc
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/cssparser.cc	Wed Jan 21 20:13:45 2009 +0100
+++ b/src/cssparser.cc	Wed Jan 21 21:01:32 2009 +0100
@@ -697,6 +697,7 @@
       } else if (parser->ttype == CSS_TK_SYMBOL &&
                  strcmp(parser->tval, "auto") == 0) {
          val->intVal = CSS_LENGTH_TYPE_AUTO;
+         Css_next_token(parser);
       }
       break;