зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
32d2533d44
Коммит
e6726a692a
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче