fix forFont element not removed in Composer; b=97083; r=brade,jfrancis; sr=kin; a=dbaron
This commit is contained in:
Родитель
10b8c7ce4e
Коммит
dd4c742614
|
@ -593,7 +593,7 @@ PRBool nsHTMLEditor::IsOnlyAttribute(nsIDOMNode *aNode,
|
|||
if (!Compare(attrString,*aAttribute,nsCaseInsensitiveStringComparator())) continue;
|
||||
// if it's a special _moz... attribute, keep looking
|
||||
attrString.Left(tmp,4);
|
||||
if (!Compare(attrString,NS_LITERAL_STRING("_moz"),nsCaseInsensitiveStringComparator())) continue;
|
||||
if (!Compare(tmp,NS_LITERAL_STRING("_moz"),nsCaseInsensitiveStringComparator())) continue;
|
||||
// otherwise, it's another attribute, so return false
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
|
|
@ -593,7 +593,7 @@ PRBool nsHTMLEditor::IsOnlyAttribute(nsIDOMNode *aNode,
|
|||
if (!Compare(attrString,*aAttribute,nsCaseInsensitiveStringComparator())) continue;
|
||||
// if it's a special _moz... attribute, keep looking
|
||||
attrString.Left(tmp,4);
|
||||
if (!Compare(attrString,NS_LITERAL_STRING("_moz"),nsCaseInsensitiveStringComparator())) continue;
|
||||
if (!Compare(tmp,NS_LITERAL_STRING("_moz"),nsCaseInsensitiveStringComparator())) continue;
|
||||
// otherwise, it's another attribute, so return false
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче