Bug 395614 - implement nsSVGScriptElement::SetType. r=longsonr,jonas

This commit is contained in:
Takeshi Kurosawa 2009-12-12 19:58:05 +00:00
Родитель 28e410c8b6
Коммит 6556249d5c
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -174,8 +174,7 @@ nsSVGScriptElement::GetType(nsAString & aType)
NS_IMETHODIMP
nsSVGScriptElement::SetType(const nsAString & aType)
{
NS_ERROR("write me!");
return NS_ERROR_NOT_IMPLEMENTED;
return SetAttr(kNameSpaceID_None, nsGkAtoms::type, aType, PR_TRUE);
}
//----------------------------------------------------------------------