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