Bug 819731 - Remove contentStyleType and contentScriptType from SVGSVGElement. r=longsonr

This commit is contained in:
Cameron McCormack 2012-12-10 12:33:10 +11:00
parent 28ad9c1de8
commit 5be62042ee
2 changed files with 1 additions and 33 deletions

View File

@ -231,34 +231,6 @@ nsSVGSVGElement::GetHeight(nsIDOMSVGAnimatedLength * *aHeight)
return mLengthAttributes[HEIGHT].ToDOMAnimatedLength(aHeight, this);
}
/* attribute DOMString contentScriptType; */
NS_IMETHODIMP
nsSVGSVGElement::GetContentScriptType(nsAString & aContentScriptType)
{
NS_NOTYETIMPLEMENTED("nsSVGSVGElement::GetContentScriptType");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsSVGSVGElement::SetContentScriptType(const nsAString & aContentScriptType)
{
NS_NOTYETIMPLEMENTED("nsSVGSVGElement::SetContentScriptType");
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString contentStyleType; */
NS_IMETHODIMP
nsSVGSVGElement::GetContentStyleType(nsAString & aContentStyleType)
{
NS_NOTYETIMPLEMENTED("nsSVGSVGElement::GetContentStyleType");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsSVGSVGElement::SetContentStyleType(const nsAString & aContentStyleType)
{
NS_NOTYETIMPLEMENTED("nsSVGSVGElement::SetContentStyleType");
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMSVGRect viewport; */
NS_IMETHODIMP
nsSVGSVGElement::GetViewport(nsIDOMSVGRect * *aViewport)

View File

@ -22,7 +22,7 @@ interface nsIDOMSVGTransform;
#endif
%}
[scriptable, uuid(BEC06C4F-3EF7-486E-A8F5-F375EE5CB5A8)]
[scriptable, uuid(4670a204-4ef1-455f-9595-9847b077c624)]
interface nsIDOMSVGSVGElement
: nsIDOMSVGElement
/*
@ -47,10 +47,6 @@ interface nsIDOMSVGSVGElement
readonly attribute nsIDOMSVGAnimatedLength y;
readonly attribute nsIDOMSVGAnimatedLength width;
readonly attribute nsIDOMSVGAnimatedLength height;
attribute DOMString contentScriptType;
// raises DOMException on setting
attribute DOMString contentStyleType;
// raises DOMException on setting
readonly attribute nsIDOMSVGRect viewport;
readonly attribute float pixelUnitToMillimeterX;
readonly attribute float pixelUnitToMillimeterY;