diff --git a/content/html/content/src/nsHTMLSharedElement.cpp b/content/html/content/src/nsHTMLSharedElement.cpp index 39c6252e562..da1e591f7cc 100644 --- a/content/html/content/src/nsHTMLSharedElement.cpp +++ b/content/html/content/src/nsHTMLSharedElement.cpp @@ -267,7 +267,8 @@ nsHTMLSharedLeafElement::StringToAttribute(nsIAtom* aAttribute, } } - return NS_CONTENT_ATTR_NOT_THERE; + return nsGenericHTMLLeafElement::StringToAttribute(aAttribute, aValue, + aResult); } NS_IMETHODIMP @@ -405,7 +406,8 @@ nsHTMLSharedLeafElement::GetMappedAttributeImpact(const nsIAtom* aAttribute, } } - return NS_OK; + return nsGenericHTMLLeafElement::GetMappedAttributeImpact(aAttribute, + aModType, aHint); } NS_IMETHODIMP diff --git a/content/html/content/src/nsHTMLSharedLeafElement.cpp b/content/html/content/src/nsHTMLSharedLeafElement.cpp index 39c6252e562..da1e591f7cc 100644 --- a/content/html/content/src/nsHTMLSharedLeafElement.cpp +++ b/content/html/content/src/nsHTMLSharedLeafElement.cpp @@ -267,7 +267,8 @@ nsHTMLSharedLeafElement::StringToAttribute(nsIAtom* aAttribute, } } - return NS_CONTENT_ATTR_NOT_THERE; + return nsGenericHTMLLeafElement::StringToAttribute(aAttribute, aValue, + aResult); } NS_IMETHODIMP @@ -405,7 +406,8 @@ nsHTMLSharedLeafElement::GetMappedAttributeImpact(const nsIAtom* aAttribute, } } - return NS_OK; + return nsGenericHTMLLeafElement::GetMappedAttributeImpact(aAttribute, + aModType, aHint); } NS_IMETHODIMP