mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +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 };
|
||||
nsDependentString stopSymbolChars(stopChars);
|
||||
while (GetToken(true)) {
|
||||
// The current function has percentage values.
|
||||
if (mToken.mType == eCSSToken_Percentage) {
|
||||
if (mToken.mType == aType) {
|
||||
rv = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue