mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
fix forFont element not removed in Composer; b=97083; r=brade,jfrancis; sr=kin; a=dbaron
This commit is contained in:
parent
a94d93b65e
commit
f100555f4d
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user