Bug 15729: Fall back to content when getting text value; r=vidur
git-svn-id: svn://10.0.0.236/trunk@51216 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -642,6 +642,8 @@ void nsGfxTextControlFrame::GetTextControlFrameState(nsString& aValue)
|
||||
else {
|
||||
if (mCachedState) {
|
||||
aValue = *mCachedState;
|
||||
} else {
|
||||
nsFormControlHelper::GetInputElementValue(mContent, &aValue, PR_TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user