Author: jmb
Date: Fri Jan 23 16:26:23 2009
New Revision: 6196

URL: http://source.netsurf-browser.org?rev=6196&view=rev
Log:
Fix counter-increment parsing

Modified:
    trunk/libcss/src/parse/properties.c

Modified: trunk/libcss/src/parse/properties.c
URL: 
http://source.netsurf-browser.org/trunk/libcss/src/parse/properties.c?rev=6196&r1=6195&r2=6196&view=diff
==============================================================================
--- trunk/libcss/src/parse/properties.c (original)
+++ trunk/libcss/src/parse/properties.c Fri Jan 23 16:26:23 2009
@@ -1680,6 +1680,8 @@
                        first = false;
 
                        token = parserutils_vector_iterate(vector, &temp_ctx);
+                       if (token != NULL && token->type != CSS_TOKEN_IDENT)
+                               return CSS_INVALID;
                }
 
                /* And for the terminator */
@@ -1760,6 +1762,8 @@
                        first = false;
 
                        token = parserutils_vector_iterate(vector, ctx);
+                       if (token != NULL && token->type != CSS_TOKEN_IDENT)
+                               return CSS_INVALID;
                }
 
                /* And for the terminator */


_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to