Bug 223012: Make xul fully case sensitive.
r=bryner sr=jst git-svn-id: svn://10.0.0.236/trunk@149500 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -946,8 +946,8 @@ nsMenuFrame::IsSizedToPopup(nsIContent* aContent, PRBool aRequireAlways)
|
||||
else {
|
||||
nsAutoString sizedToPopup;
|
||||
aContent->GetAttr(kNameSpaceID_None, nsXULAtoms::sizetopopup, sizedToPopup);
|
||||
sizeToPopup = (sizedToPopup.EqualsIgnoreCase("always") ||
|
||||
(!aRequireAlways && sizedToPopup.EqualsIgnoreCase("pref")));
|
||||
sizeToPopup = sizedToPopup.Equals(NS_LITERAL_STRING("always")) ||
|
||||
!aRequireAlways && sizedToPopup.Equals(NS_LITERAL_STRING("pref"));
|
||||
}
|
||||
|
||||
return sizeToPopup;
|
||||
|
||||
Reference in New Issue
Block a user