fix spelling

This commit is contained in:
peterl%netscape.com 1998-12-21 05:58:58 +00:00
parent 01b2811d2e
commit cdecfbc7dd
15 changed files with 75 additions and 75 deletions

View File

@ -2698,7 +2698,7 @@ HTMLContentSink::LoadStyleSheet(nsIURL* aURL,
nsICSSStyleSheet* sheet = nsnull;
// XXX note: we are ignoring rv until the error code stuff in the
// input routines is converted to use nsresult's
parser->SetCaseSensative(PR_FALSE);
parser->SetCaseSensitive(PR_FALSE);
parser->Parse(aUIN, aURL, sheet);
if (nsnull != sheet) {
sheet->SetTitle(aTitle);

View File

@ -42,8 +42,8 @@ public:
// implement the nsICSSStyleSheet interface
NS_IMETHOD SetStyleSheet(nsICSSStyleSheet* aSheet) = 0;
// Set whether or not tags & classes are case sensative or uppercased
NS_IMETHOD SetCaseSensative(PRBool aCaseSensative) = 0;
// Set whether or not tags & classes are case sensitive or uppercased
NS_IMETHOD SetCaseSensitive(PRBool aCaseSensitive) = 0;
NS_IMETHOD Parse(nsIUnicharInputStream* aInput,
nsIURL* aInputURL,

View File

@ -113,7 +113,7 @@ public:
NS_IMETHOD SetStyleSheet(nsICSSStyleSheet* aSheet);
NS_IMETHOD SetCaseSensative(PRBool aCaseSensative);
NS_IMETHOD SetCaseSensitive(PRBool aCaseSensitive);
NS_IMETHOD Parse(nsIUnicharInputStream* aInput,
nsIURL* aInputURL,
@ -232,7 +232,7 @@ protected:
PRBool mInHead;
PRBool mNavQuirkMode;
PRBool mCaseSensative;
PRBool mCaseSensitive;
};
NS_HTML nsresult
@ -255,7 +255,7 @@ CSSParserImpl::CSSParserImpl()
mSheet = nsnull;
mHavePushBack = PR_FALSE;
mNavQuirkMode = PR_TRUE;
mCaseSensative = PR_FALSE;
mCaseSensitive = PR_FALSE;
}
CSSParserImpl::CSSParserImpl(nsICSSStyleSheet* aSheet)
@ -266,7 +266,7 @@ CSSParserImpl::CSSParserImpl(nsICSSStyleSheet* aSheet)
mSheet = aSheet; NS_ADDREF(aSheet);
mHavePushBack = PR_FALSE;
mNavQuirkMode = PR_TRUE;
mCaseSensative = PR_FALSE;
mCaseSensitive = PR_FALSE;
}
NS_IMPL_ISUPPORTS(CSSParserImpl,kICSSParserIID)
@ -303,9 +303,9 @@ CSSParserImpl::SetStyleSheet(nsICSSStyleSheet* aSheet)
}
NS_IMETHODIMP
CSSParserImpl::SetCaseSensative(PRBool aCaseSensative)
CSSParserImpl::SetCaseSensitive(PRBool aCaseSensitive)
{
mCaseSensative = aCaseSensative;
mCaseSensitive = aCaseSensitive;
return NS_OK;
}
@ -1057,7 +1057,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
else if (eCSSToken_Ident == mToken.mType) { // element name
PRInt32 colon = mToken.mIdent.Find(':');
if (-1 == colon) { // no namespace
if (mCaseSensative) {
if (mCaseSensitive) {
aSelector.SetTag(mToken.mIdent);
}
else {
@ -1069,7 +1069,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
nsAutoString nameSpace;
mToken.mIdent.Left(nameSpace, colon);
mToken.mIdent.Right(buffer, (mToken.mIdent.Length() - (colon + 1)));
if (! mCaseSensative) {
if (! mCaseSensitive) {
buffer.ToUpperCase();
}
// XXX lookup namespace, set it
@ -1103,7 +1103,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
return PR_FALSE;
}
dataMask |= SEL_MASK_CLASS;
if (mCaseSensative) {
if (mCaseSensitive) {
aSelector.AddClass(mToken.mIdent);
}
else {
@ -1151,7 +1151,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
return PR_FALSE;
}
nsAutoString attr(mToken.mIdent);
if (! mCaseSensative) {
if (! mCaseSensitive) {
attr.ToUpperCase();
}
if (! GetToken(aErrorCode, PR_FALSE)) { // premature EOF
@ -1206,10 +1206,10 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
}
if ((eCSSToken_Symbol == mToken.mType) && (']' == mToken.mSymbol)) {
dataMask |= SEL_MASK_ATTRIB;
if (! mCaseSensative) {
if (! mCaseSensitive) {
value.ToUpperCase();
}
aSelector.AddAttribute(attr, func, value, mCaseSensative);
aSelector.AddAttribute(attr, func, value, mCaseSensitive);
}
else {
UngetToken();

View File

@ -116,7 +116,7 @@ PRBool nsAtomList::Equals(const nsAtomList* aOther) const
nsAttrSelector::nsAttrSelector(const nsString& aAttr)
: mAttr(nsnull),
mFunction(NS_ATTR_FUNC_SET),
mCaseSensative(1),
mCaseSensitive(1),
mValue(),
mNext(nsnull)
{
@ -124,10 +124,10 @@ nsAttrSelector::nsAttrSelector(const nsString& aAttr)
}
nsAttrSelector::nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const nsString& aValue,
PRBool aCaseSensative)
PRBool aCaseSensitive)
: mAttr(nsnull),
mFunction(aFunction),
mCaseSensative(aCaseSensative),
mCaseSensitive(aCaseSensitive),
mValue(aValue),
mNext(nsnull)
{
@ -137,7 +137,7 @@ nsAttrSelector::nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const n
nsAttrSelector::nsAttrSelector(const nsAttrSelector& aCopy)
: mAttr(aCopy.mAttr),
mFunction(aCopy.mFunction),
mCaseSensative(aCopy.mCaseSensative),
mCaseSensitive(aCopy.mCaseSensitive),
mValue(aCopy.mValue),
mNext(nsnull)
{
@ -159,7 +159,7 @@ PRBool nsAttrSelector::Equals(const nsAttrSelector* aOther) const
if (nsnull != aOther) {
if ((mAttr == aOther->mAttr) &&
(mFunction == aOther->mFunction) &&
(mCaseSensative == aOther->mCaseSensative) &&
(mCaseSensitive == aOther->mCaseSensitive) &&
mValue.Equals(aOther->mValue)) {
if (nsnull != mNext) {
return mNext->Equals(aOther->mNext);
@ -346,14 +346,14 @@ void nsCSSSelector::AddAttribute(const nsString& aAttr)
}
void nsCSSSelector::AddAttribute(const nsString& aAttr, PRUint8 aFunc, const nsString& aValue,
PRBool aCaseSensative)
PRBool aCaseSensitive)
{
if (0 < aAttr.Length()) {
nsAttrSelector** list = &mAttrList;
while (nsnull != *list) {
list = &((*list)->mNext);
}
*list = new nsAttrSelector(aAttr, aFunc, aValue, aCaseSensative);
*list = new nsAttrSelector(aAttr, aFunc, aValue, aCaseSensitive);
}
}

View File

@ -49,14 +49,14 @@ struct nsAttrSelector {
public:
nsAttrSelector(const nsString& aAttr);
nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const nsString& aValue,
PRBool aCaseSensative);
PRBool aCaseSensitive);
nsAttrSelector(const nsAttrSelector& aCopy);
~nsAttrSelector(void);
PRBool Equals(const nsAttrSelector* aOther) const;
nsIAtom* mAttr;
PRUint8 mFunction;
PRPackedBool mCaseSensative;
PRPackedBool mCaseSensitive;
nsString mValue;
nsAttrSelector* mNext;
};
@ -79,7 +79,7 @@ public:
void AddPseudoClass(nsIAtom* aPseudoClass);
void AddAttribute(const nsString& aAttr);
void AddAttribute(const nsString& aAttr, PRUint8 aFunc, const nsString& aValue,
PRBool aCaseSensative);
PRBool aCaseSensitive);
void SetOperator(PRUnichar aOperator);
PRInt32 CalcWeight(void) const;

View File

@ -2698,7 +2698,7 @@ HTMLContentSink::LoadStyleSheet(nsIURL* aURL,
nsICSSStyleSheet* sheet = nsnull;
// XXX note: we are ignoring rv until the error code stuff in the
// input routines is converted to use nsresult's
parser->SetCaseSensative(PR_FALSE);
parser->SetCaseSensitive(PR_FALSE);
parser->Parse(aUIN, aURL, sheet);
if (nsnull != sheet) {
sheet->SetTitle(aTitle);

View File

@ -42,8 +42,8 @@ public:
// implement the nsICSSStyleSheet interface
NS_IMETHOD SetStyleSheet(nsICSSStyleSheet* aSheet) = 0;
// Set whether or not tags & classes are case sensative or uppercased
NS_IMETHOD SetCaseSensative(PRBool aCaseSensative) = 0;
// Set whether or not tags & classes are case sensitive or uppercased
NS_IMETHOD SetCaseSensitive(PRBool aCaseSensitive) = 0;
NS_IMETHOD Parse(nsIUnicharInputStream* aInput,
nsIURL* aInputURL,

View File

@ -113,7 +113,7 @@ public:
NS_IMETHOD SetStyleSheet(nsICSSStyleSheet* aSheet);
NS_IMETHOD SetCaseSensative(PRBool aCaseSensative);
NS_IMETHOD SetCaseSensitive(PRBool aCaseSensitive);
NS_IMETHOD Parse(nsIUnicharInputStream* aInput,
nsIURL* aInputURL,
@ -232,7 +232,7 @@ protected:
PRBool mInHead;
PRBool mNavQuirkMode;
PRBool mCaseSensative;
PRBool mCaseSensitive;
};
NS_HTML nsresult
@ -255,7 +255,7 @@ CSSParserImpl::CSSParserImpl()
mSheet = nsnull;
mHavePushBack = PR_FALSE;
mNavQuirkMode = PR_TRUE;
mCaseSensative = PR_FALSE;
mCaseSensitive = PR_FALSE;
}
CSSParserImpl::CSSParserImpl(nsICSSStyleSheet* aSheet)
@ -266,7 +266,7 @@ CSSParserImpl::CSSParserImpl(nsICSSStyleSheet* aSheet)
mSheet = aSheet; NS_ADDREF(aSheet);
mHavePushBack = PR_FALSE;
mNavQuirkMode = PR_TRUE;
mCaseSensative = PR_FALSE;
mCaseSensitive = PR_FALSE;
}
NS_IMPL_ISUPPORTS(CSSParserImpl,kICSSParserIID)
@ -303,9 +303,9 @@ CSSParserImpl::SetStyleSheet(nsICSSStyleSheet* aSheet)
}
NS_IMETHODIMP
CSSParserImpl::SetCaseSensative(PRBool aCaseSensative)
CSSParserImpl::SetCaseSensitive(PRBool aCaseSensitive)
{
mCaseSensative = aCaseSensative;
mCaseSensitive = aCaseSensitive;
return NS_OK;
}
@ -1057,7 +1057,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
else if (eCSSToken_Ident == mToken.mType) { // element name
PRInt32 colon = mToken.mIdent.Find(':');
if (-1 == colon) { // no namespace
if (mCaseSensative) {
if (mCaseSensitive) {
aSelector.SetTag(mToken.mIdent);
}
else {
@ -1069,7 +1069,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
nsAutoString nameSpace;
mToken.mIdent.Left(nameSpace, colon);
mToken.mIdent.Right(buffer, (mToken.mIdent.Length() - (colon + 1)));
if (! mCaseSensative) {
if (! mCaseSensitive) {
buffer.ToUpperCase();
}
// XXX lookup namespace, set it
@ -1103,7 +1103,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
return PR_FALSE;
}
dataMask |= SEL_MASK_CLASS;
if (mCaseSensative) {
if (mCaseSensitive) {
aSelector.AddClass(mToken.mIdent);
}
else {
@ -1151,7 +1151,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
return PR_FALSE;
}
nsAutoString attr(mToken.mIdent);
if (! mCaseSensative) {
if (! mCaseSensitive) {
attr.ToUpperCase();
}
if (! GetToken(aErrorCode, PR_FALSE)) { // premature EOF
@ -1206,10 +1206,10 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
}
if ((eCSSToken_Symbol == mToken.mType) && (']' == mToken.mSymbol)) {
dataMask |= SEL_MASK_ATTRIB;
if (! mCaseSensative) {
if (! mCaseSensitive) {
value.ToUpperCase();
}
aSelector.AddAttribute(attr, func, value, mCaseSensative);
aSelector.AddAttribute(attr, func, value, mCaseSensitive);
}
else {
UngetToken();

View File

@ -116,7 +116,7 @@ PRBool nsAtomList::Equals(const nsAtomList* aOther) const
nsAttrSelector::nsAttrSelector(const nsString& aAttr)
: mAttr(nsnull),
mFunction(NS_ATTR_FUNC_SET),
mCaseSensative(1),
mCaseSensitive(1),
mValue(),
mNext(nsnull)
{
@ -124,10 +124,10 @@ nsAttrSelector::nsAttrSelector(const nsString& aAttr)
}
nsAttrSelector::nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const nsString& aValue,
PRBool aCaseSensative)
PRBool aCaseSensitive)
: mAttr(nsnull),
mFunction(aFunction),
mCaseSensative(aCaseSensative),
mCaseSensitive(aCaseSensitive),
mValue(aValue),
mNext(nsnull)
{
@ -137,7 +137,7 @@ nsAttrSelector::nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const n
nsAttrSelector::nsAttrSelector(const nsAttrSelector& aCopy)
: mAttr(aCopy.mAttr),
mFunction(aCopy.mFunction),
mCaseSensative(aCopy.mCaseSensative),
mCaseSensitive(aCopy.mCaseSensitive),
mValue(aCopy.mValue),
mNext(nsnull)
{
@ -159,7 +159,7 @@ PRBool nsAttrSelector::Equals(const nsAttrSelector* aOther) const
if (nsnull != aOther) {
if ((mAttr == aOther->mAttr) &&
(mFunction == aOther->mFunction) &&
(mCaseSensative == aOther->mCaseSensative) &&
(mCaseSensitive == aOther->mCaseSensitive) &&
mValue.Equals(aOther->mValue)) {
if (nsnull != mNext) {
return mNext->Equals(aOther->mNext);
@ -346,14 +346,14 @@ void nsCSSSelector::AddAttribute(const nsString& aAttr)
}
void nsCSSSelector::AddAttribute(const nsString& aAttr, PRUint8 aFunc, const nsString& aValue,
PRBool aCaseSensative)
PRBool aCaseSensitive)
{
if (0 < aAttr.Length()) {
nsAttrSelector** list = &mAttrList;
while (nsnull != *list) {
list = &((*list)->mNext);
}
*list = new nsAttrSelector(aAttr, aFunc, aValue, aCaseSensative);
*list = new nsAttrSelector(aAttr, aFunc, aValue, aCaseSensitive);
}
}

View File

@ -49,14 +49,14 @@ struct nsAttrSelector {
public:
nsAttrSelector(const nsString& aAttr);
nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const nsString& aValue,
PRBool aCaseSensative);
PRBool aCaseSensitive);
nsAttrSelector(const nsAttrSelector& aCopy);
~nsAttrSelector(void);
PRBool Equals(const nsAttrSelector* aOther) const;
nsIAtom* mAttr;
PRUint8 mFunction;
PRPackedBool mCaseSensative;
PRPackedBool mCaseSensitive;
nsString mValue;
nsAttrSelector* mNext;
};
@ -79,7 +79,7 @@ public:
void AddPseudoClass(nsIAtom* aPseudoClass);
void AddAttribute(const nsString& aAttr);
void AddAttribute(const nsString& aAttr, PRUint8 aFunc, const nsString& aValue,
PRBool aCaseSensative);
PRBool aCaseSensitive);
void SetOperator(PRUnichar aOperator);
PRInt32 CalcWeight(void) const;

View File

@ -113,7 +113,7 @@ public:
NS_IMETHOD SetStyleSheet(nsICSSStyleSheet* aSheet);
NS_IMETHOD SetCaseSensative(PRBool aCaseSensative);
NS_IMETHOD SetCaseSensitive(PRBool aCaseSensitive);
NS_IMETHOD Parse(nsIUnicharInputStream* aInput,
nsIURL* aInputURL,
@ -232,7 +232,7 @@ protected:
PRBool mInHead;
PRBool mNavQuirkMode;
PRBool mCaseSensative;
PRBool mCaseSensitive;
};
NS_HTML nsresult
@ -255,7 +255,7 @@ CSSParserImpl::CSSParserImpl()
mSheet = nsnull;
mHavePushBack = PR_FALSE;
mNavQuirkMode = PR_TRUE;
mCaseSensative = PR_FALSE;
mCaseSensitive = PR_FALSE;
}
CSSParserImpl::CSSParserImpl(nsICSSStyleSheet* aSheet)
@ -266,7 +266,7 @@ CSSParserImpl::CSSParserImpl(nsICSSStyleSheet* aSheet)
mSheet = aSheet; NS_ADDREF(aSheet);
mHavePushBack = PR_FALSE;
mNavQuirkMode = PR_TRUE;
mCaseSensative = PR_FALSE;
mCaseSensitive = PR_FALSE;
}
NS_IMPL_ISUPPORTS(CSSParserImpl,kICSSParserIID)
@ -303,9 +303,9 @@ CSSParserImpl::SetStyleSheet(nsICSSStyleSheet* aSheet)
}
NS_IMETHODIMP
CSSParserImpl::SetCaseSensative(PRBool aCaseSensative)
CSSParserImpl::SetCaseSensitive(PRBool aCaseSensitive)
{
mCaseSensative = aCaseSensative;
mCaseSensitive = aCaseSensitive;
return NS_OK;
}
@ -1057,7 +1057,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
else if (eCSSToken_Ident == mToken.mType) { // element name
PRInt32 colon = mToken.mIdent.Find(':');
if (-1 == colon) { // no namespace
if (mCaseSensative) {
if (mCaseSensitive) {
aSelector.SetTag(mToken.mIdent);
}
else {
@ -1069,7 +1069,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
nsAutoString nameSpace;
mToken.mIdent.Left(nameSpace, colon);
mToken.mIdent.Right(buffer, (mToken.mIdent.Length() - (colon + 1)));
if (! mCaseSensative) {
if (! mCaseSensitive) {
buffer.ToUpperCase();
}
// XXX lookup namespace, set it
@ -1103,7 +1103,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
return PR_FALSE;
}
dataMask |= SEL_MASK_CLASS;
if (mCaseSensative) {
if (mCaseSensitive) {
aSelector.AddClass(mToken.mIdent);
}
else {
@ -1151,7 +1151,7 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
return PR_FALSE;
}
nsAutoString attr(mToken.mIdent);
if (! mCaseSensative) {
if (! mCaseSensitive) {
attr.ToUpperCase();
}
if (! GetToken(aErrorCode, PR_FALSE)) { // premature EOF
@ -1206,10 +1206,10 @@ PRBool CSSParserImpl::ParseSelector(PRInt32& aErrorCode,
}
if ((eCSSToken_Symbol == mToken.mType) && (']' == mToken.mSymbol)) {
dataMask |= SEL_MASK_ATTRIB;
if (! mCaseSensative) {
if (! mCaseSensitive) {
value.ToUpperCase();
}
aSelector.AddAttribute(attr, func, value, mCaseSensative);
aSelector.AddAttribute(attr, func, value, mCaseSensitive);
}
else {
UngetToken();

View File

@ -116,7 +116,7 @@ PRBool nsAtomList::Equals(const nsAtomList* aOther) const
nsAttrSelector::nsAttrSelector(const nsString& aAttr)
: mAttr(nsnull),
mFunction(NS_ATTR_FUNC_SET),
mCaseSensative(1),
mCaseSensitive(1),
mValue(),
mNext(nsnull)
{
@ -124,10 +124,10 @@ nsAttrSelector::nsAttrSelector(const nsString& aAttr)
}
nsAttrSelector::nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const nsString& aValue,
PRBool aCaseSensative)
PRBool aCaseSensitive)
: mAttr(nsnull),
mFunction(aFunction),
mCaseSensative(aCaseSensative),
mCaseSensitive(aCaseSensitive),
mValue(aValue),
mNext(nsnull)
{
@ -137,7 +137,7 @@ nsAttrSelector::nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const n
nsAttrSelector::nsAttrSelector(const nsAttrSelector& aCopy)
: mAttr(aCopy.mAttr),
mFunction(aCopy.mFunction),
mCaseSensative(aCopy.mCaseSensative),
mCaseSensitive(aCopy.mCaseSensitive),
mValue(aCopy.mValue),
mNext(nsnull)
{
@ -159,7 +159,7 @@ PRBool nsAttrSelector::Equals(const nsAttrSelector* aOther) const
if (nsnull != aOther) {
if ((mAttr == aOther->mAttr) &&
(mFunction == aOther->mFunction) &&
(mCaseSensative == aOther->mCaseSensative) &&
(mCaseSensitive == aOther->mCaseSensitive) &&
mValue.Equals(aOther->mValue)) {
if (nsnull != mNext) {
return mNext->Equals(aOther->mNext);
@ -346,14 +346,14 @@ void nsCSSSelector::AddAttribute(const nsString& aAttr)
}
void nsCSSSelector::AddAttribute(const nsString& aAttr, PRUint8 aFunc, const nsString& aValue,
PRBool aCaseSensative)
PRBool aCaseSensitive)
{
if (0 < aAttr.Length()) {
nsAttrSelector** list = &mAttrList;
while (nsnull != *list) {
list = &((*list)->mNext);
}
*list = new nsAttrSelector(aAttr, aFunc, aValue, aCaseSensative);
*list = new nsAttrSelector(aAttr, aFunc, aValue, aCaseSensitive);
}
}

View File

@ -42,8 +42,8 @@ public:
// implement the nsICSSStyleSheet interface
NS_IMETHOD SetStyleSheet(nsICSSStyleSheet* aSheet) = 0;
// Set whether or not tags & classes are case sensative or uppercased
NS_IMETHOD SetCaseSensative(PRBool aCaseSensative) = 0;
// Set whether or not tags & classes are case sensitive or uppercased
NS_IMETHOD SetCaseSensitive(PRBool aCaseSensitive) = 0;
NS_IMETHOD Parse(nsIUnicharInputStream* aInput,
nsIURL* aInputURL,

View File

@ -49,14 +49,14 @@ struct nsAttrSelector {
public:
nsAttrSelector(const nsString& aAttr);
nsAttrSelector(const nsString& aAttr, PRUint8 aFunction, const nsString& aValue,
PRBool aCaseSensative);
PRBool aCaseSensitive);
nsAttrSelector(const nsAttrSelector& aCopy);
~nsAttrSelector(void);
PRBool Equals(const nsAttrSelector* aOther) const;
nsIAtom* mAttr;
PRUint8 mFunction;
PRPackedBool mCaseSensative;
PRPackedBool mCaseSensitive;
nsString mValue;
nsAttrSelector* mNext;
};
@ -79,7 +79,7 @@ public:
void AddPseudoClass(nsIAtom* aPseudoClass);
void AddAttribute(const nsString& aAttr);
void AddAttribute(const nsString& aAttr, PRUint8 aFunc, const nsString& aValue,
PRBool aCaseSensative);
PRBool aCaseSensitive);
void SetOperator(PRUnichar aOperator);
PRInt32 CalcWeight(void) const;

View File

@ -215,7 +215,7 @@ nsRDFDocumentContentSink::LoadStyleSheet(nsIURL* aURL,
nsICSSStyleSheet* sheet = nsnull;
// XXX note: we are ignoring rv until the error code stuff in the
// input routines is converted to use nsresult's
parser->SetCaseSensative(PR_TRUE);
parser->SetCaseSensitive(PR_TRUE);
parser->Parse(aUIN, aURL, sheet);
if (nsnull != sheet) {
mDocument->AddStyleSheet(sheet);