Added namespace ID to the AttributeChanged notification

Part fo the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1999-10-15 23:16:45 +00:00
parent 762178f097
commit bba68903df
90 changed files with 145 additions and 42 deletions

View File

@@ -156,6 +156,7 @@ nsNativeTextControlFrame::GetText(nsString* aText, PRBool aInitialValue)
NS_IMETHODIMP
nsNativeTextControlFrame::AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
PRInt32 aNameSpaceID,
nsIAtom* aAttribute,
PRInt32 aHint)
{
@@ -188,7 +189,7 @@ nsNativeTextControlFrame::AttributeChanged(nsIPresContext* aPresContext,
// Allow the base class to handle common attributes supported
// by all form elements...
else {
result = nsNativeFormControlFrame::AttributeChanged(aPresContext, aChild, aAttribute, aHint);
result = nsNativeFormControlFrame::AttributeChanged(aPresContext, aChild, aNameSpaceID, aAttribute, aHint);
}
NS_RELEASE(text);
}
@@ -219,12 +220,12 @@ nsNativeTextControlFrame::AttributeChanged(nsIPresContext* aPresContext,
// Allow the base class to handle common attributes supported
// by all form elements...
else {
result = nsNativeFormControlFrame::AttributeChanged(aPresContext, aChild, aAttribute, aHint);
result = nsNativeFormControlFrame::AttributeChanged(aPresContext, aChild, aNameSpaceID, aAttribute, aHint);
}
NS_RELEASE(textArea);
}
else { // We didn't get a Text or TextArea. Uh oh...
result = nsNativeFormControlFrame::AttributeChanged(aPresContext, aChild, aAttribute, aHint);
result = nsNativeFormControlFrame::AttributeChanged(aPresContext, aChild, aNameSpaceID, aAttribute, aHint);
}
}
}