14 Dec
2010
14 Dec
'10
3:10 a.m.
Jeremy wrote:
diff -r 6276951c09ca -r 863857740f7f src/cssparser.cc --- a/src/cssparser.cc Sun Dec 05 16:45:24 2010 +0000 +++ b/src/cssparser.cc Sun Dec 05 18:50:21 2010 +0000 @@ -1422,12 +1422,7 @@ else if (ttype == CSS_TK_STRING) urlStr = dStrdup (tval);
- /* Skip all tokens until the expected end. */ - while (!(ttype == CSS_TK_END || - (ttype == CSS_TK_CHAR && (tval[0] == ';')))) - nextToken(); - - nextToken(); + ignoreStatement();
if (urlStr) { MSG("CssParser::parseImport(): @import %s\n", urlStr);
I just wanted to mention that CSS2 says that there can be media types after the URL there...