Fixing bug 317709. onclick does not work with textPath SVG elements. Patched by Robert Longson longsonr@gmail.com, r=tor@acm.org, sr=jst@mozilla.org

This commit is contained in:
jwatt%jwatt.org 2006-01-20 16:31:46 +00:00
Родитель 32d2533d44
Коммит e6726a692a
1 изменённых файлов: 10 добавлений и 0 удалений

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

@ -76,6 +76,8 @@ public:
NS_IMETHOD_(PRBool) IsAttributeMapped(const nsIAtom* aAttribute) const;
protected:
// nsSVGElement overrides
virtual PRBool IsEventName(nsIAtom* aName);
nsCOMPtr<nsIDOMSVGAnimatedLength> mStartOffset;
nsCOMPtr<nsIDOMSVGAnimatedEnumeration> mMethod;
@ -331,3 +333,11 @@ nsSVGTextPathElement::IsAttributeMapped(const nsIAtom* name) const
nsSVGTextPathElementBase::IsAttributeMapped(name);
}
//----------------------------------------------------------------------
// nsSVGElement overrides
PRBool
nsSVGTextPathElement::IsEventName(nsIAtom* aName)
{
return IsGraphicElementEventName(aName);
}