Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), r=rods@netscape.com, sr=kin@netscape.com

This commit is contained in:
jkeiser@netscape.com
2002-09-16 06:23:52 +00:00
parent 88a893d7c0
commit 3a3675d79e
16 changed files with 390 additions and 1324 deletions

View File

@@ -204,23 +204,6 @@ NS_IMETHODIMP nsHTMLButtonControlFrame::GetAccessible(nsIAccessible** aAccessibl
#endif
void
nsHTMLButtonControlFrame::GetDefaultLabel(nsString& aString)
{
PRInt32 type;
GetType(&type);
if (NS_FORM_BUTTON_BUTTON == type) {
aString.Assign(NS_LITERAL_STRING("Button"));
}
else if (NS_FORM_BUTTON_RESET == type) {
aString.Assign(NS_LITERAL_STRING("Reset"));
}
else if (NS_FORM_BUTTON_SUBMIT == type) {
aString.Assign(NS_LITERAL_STRING("Submit"));
}
}
NS_IMETHODIMP
nsHTMLButtonControlFrame::GetType(PRInt32* aType) const
{