sync to new attribute api
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user