NS_IMPL_STRING_ATTR(nsHTMLSharedElement, Type, type)
nsHTMLSharedElement::GetType(nsAString& aType) { if (!mNodeInfo->Equals(nsHTMLAtoms::embed) || mType.IsEmpty()) { GetAttr(kNameSpaceID_None, nsHTMLAtoms::type, aType); } else { CopyUTF8toUTF16(mType, aType); }  return NS_OK; }
NS_IMPL_STRING_ATTR(nsHTMLSharedElement, Type, type)