mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-29 10:37:33 +09:00
Issue #1765 - Part 3: Provided token type should be used in LookForTokenType
I didn't realize this immediately after moving the code into a method. Oops.
This commit is contained in:
parent
d678cc2c45
commit
6ae0a69ac7
1 changed files with 1 additions and 2 deletions
|
|
@ -5427,8 +5427,7 @@ CSSParserImpl::LookForTokenType(nsCSSTokenType aType) {
|
||||||
const char16_t stopChars[] = { ';', '!', '}', 0 };
|
const char16_t stopChars[] = { ';', '!', '}', 0 };
|
||||||
nsDependentString stopSymbolChars(stopChars);
|
nsDependentString stopSymbolChars(stopChars);
|
||||||
while (GetToken(true)) {
|
while (GetToken(true)) {
|
||||||
// The current function has percentage values.
|
if (mToken.mType == aType) {
|
||||||
if (mToken.mType == eCSSToken_Percentage) {
|
|
||||||
rv = true;
|
rv = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue