mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Skip leading space inside :not(). b=271916 r+sr=dbaron
This commit is contained in:
parent
2e9eb9007f
commit
5984611143
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user