nsHTMLSharedElement::SetType(const nsAString& aType) { if (mNodeInfo->Equals(nsHTMLAtoms::embed)) { mActualType.Truncate(); }  SetAttr(kNameSpaceID_None, nsHTMLAtoms::type, aType, PR_TRUE);  return NS_OK; }
NS_IMPL_STRING_ATTR(nsHTMLSharedElement, Type, type)
nsHTMLSharedElement::SetType(const nsAString& aType){  if (mNodeInfo->Equals(nsHTMLAtoms::embed)) {    mActualType.Truncate();  }  SetAttr(kNameSpaceID_None, nsHTMLAtoms::type, aType, PR_TRUE);  return NS_OK;}