sync to new attribute api

git-svn-id: svn://10.0.0.236/trunk@16723 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-12-20 01:21:23 +00:00
parent 739473adbe
commit 52a0043631
195 changed files with 2030 additions and 2299 deletions

View File

@@ -181,7 +181,7 @@ nsHTMLTableColGroupElement::StringToAttribute(nsIAtom* aAttribute,
NS_IMETHODIMP
nsHTMLTableColGroupElement::AttributeToString(nsIAtom* aAttribute,
nsHTMLValue& aValue,
const nsHTMLValue& aValue,
nsString& aResult) const
{
/* ignore these attributes, stored already as strings
@@ -292,11 +292,10 @@ nsHTMLTableColGroupElement::HandleDOMEvent(nsIPresContext& aPresContext,
NS_IMETHODIMP
nsHTMLTableColGroupElement::GetStyleHintForAttributeChange(
const nsIContent * aNode,
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(aNode,
if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
@@ -304,4 +303,4 @@ nsHTMLTableColGroupElement::GetStyleHintForAttributeChange(
*aHint = NS_STYLE_HINT_REFLOW;
}
return NS_OK;
}
}