Skip leading space inside :not(). b=271916 r+sr=dbaron

This commit is contained in:
mats.palmgren%bredband.net 2004-11-28 15:04:13 +00:00
parent 2e9eb9007f
commit 5984611143
2 changed files with 2 additions and 2 deletions

View File

@ -2409,7 +2409,7 @@ CSSParserImpl::ParseNegatedSimpleSelector(PRInt32& aDataMask,
return eSelectorParsingStatus_Error;
}
if (! GetToken(aErrorCode, PR_FALSE)) { // premature eof
if (! GetToken(aErrorCode, PR_TRUE)) { // premature eof
REPORT_UNEXPECTED_EOF(PENegationEOF);
return eSelectorParsingStatus_Error;
}

View File

@ -2409,7 +2409,7 @@ CSSParserImpl::ParseNegatedSimpleSelector(PRInt32& aDataMask,
return eSelectorParsingStatus_Error;
}
if (! GetToken(aErrorCode, PR_FALSE)) { // premature eof
if (! GetToken(aErrorCode, PR_TRUE)) { // premature eof
REPORT_UNEXPECTED_EOF(PENegationEOF);
return eSelectorParsingStatus_Error;
}