fixes to attribute selector parsing

git-svn-id: svn://10.0.0.236/trunk@16717 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-12-20 01:15:18 +00:00
parent b3da4ac017
commit 6a9c1924cc
3 changed files with 6 additions and 6 deletions

View File

@@ -1150,7 +1150,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
UngetToken();
return PR_FALSE;
}
nsAutoString attr(mToken.mType);
nsAutoString attr(mToken.mIdent);
if (! mCaseSensative) {
attr.ToUpperCase();
}
@@ -1209,7 +1209,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
if (! mCaseSensative) {
value.ToUpperCase();
}
aSelector.AddAttribute(attr, func, value);
aSelector.AddAttribute(attr, func, value, mCaseSensative);
}
else {
UngetToken();