change to always check for upper case TEXT
r=kmccluck bug 19607 git-svn-id: svn://10.0.0.236/trunk@54432 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -322,7 +322,9 @@ nsFileControlFrame::GetTextControlFrame(nsIFrame* aStart)
|
||||
nsString value;
|
||||
|
||||
if (NS_CONTENT_ATTR_HAS_VALUE == content->GetAttribute(kNameSpaceID_None, nsHTMLAtoms::type, value)) {
|
||||
if (value == "text") {
|
||||
value.ToUpperCase();
|
||||
nsString txt("TEXT");
|
||||
if (value == txt) {
|
||||
return (nsTextControlFrame*)childFrame;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user