sync to new attribute api

This commit is contained in:
peterl@netscape.com
1998-12-20 01:21:23 +00:00
parent 3929de5d3d
commit 97d11c8a40
195 changed files with 2030 additions and 2299 deletions
@@ -148,7 +148,7 @@ nsHTMLTableCaptionElement::StringToAttribute(nsIAtom* aAttribute,
NS_IMETHODIMP
nsHTMLTableCaptionElement::AttributeToString(nsIAtom* aAttribute,
nsHTMLValue& aValue,
const nsHTMLValue& aValue,
nsString& aResult) const
{
if (aAttribute == nsHTMLAtoms::align) {
@@ -215,10 +215,9 @@ nsHTMLTableCaptionElement::HandleDOMEvent(nsIPresContext& aPresContext,
NS_IMETHODIMP
nsHTMLTableCaptionElement::GetStyleHintForAttributeChange(
const nsIContent * aNode,
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
nsGenericHTMLElement::SetStyleHintForCommonAttributes(aNode, aAttribute, aHint);
nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
}