Bug 417339 - "dynamic changes to xlink:href of svg:feImage don't cause update" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r=longsonr sr=roc a1.9=schrep]

This commit is contained in:
reed@reedloden.com 2008-02-20 02:08:19 -08:00
parent fb5377da33
commit abca3e3ad6

View File

@ -5489,7 +5489,7 @@ nsresult
nsSVGFEImageElement::AfterSetAttr(PRInt32 aNamespaceID, nsIAtom* aName,
const nsAString* aValue, PRBool aNotify)
{
if (aNamespaceID == kNameSpaceID_None && aName == nsGkAtoms::href) {
if (aNamespaceID == kNameSpaceID_XLink && aName == nsGkAtoms::href) {
nsAutoString href;
if (GetAttr(kNameSpaceID_XLink, nsGkAtoms::href, href)) {
// Note: no need to notify here; since we're just now being bound