Landing fix for bug 248172. Don't loose namespace prefixes on attributes. r=jonas@sicking.cc, sr=jst@mozilla.jstenback.com, patch by peterv@propagandism.org

git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@158714 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%mozilla.jstenback.com
2004-07-03 06:43:40 +00:00
parent 535dec61db
commit 772f3c2f41
2 changed files with 2 additions and 2 deletions

View File

@@ -1645,7 +1645,7 @@ nsGenericHTMLElement::SetAttrAndNotify(PRInt32 aNamespaceID,
}
else {
nsCOMPtr<nsINodeInfo> ni;
rv = mNodeInfo->NodeInfoManager()->GetNodeInfo(aAttribute, nsnull,
rv = mNodeInfo->NodeInfoManager()->GetNodeInfo(aAttribute, aPrefix,
aNamespaceID,
getter_AddRefs(ni));
NS_ENSURE_SUCCESS(rv, rv);

View File

@@ -2174,7 +2174,7 @@ nsXULElement::SetAttrAndNotify(PRInt32 aNamespaceID,
}
else {
nsCOMPtr<nsINodeInfo> ni;
rv = NodeInfo()->NodeInfoManager()->GetNodeInfo(aAttribute, nsnull,
rv = NodeInfo()->NodeInfoManager()->GetNodeInfo(aAttribute, aPrefix,
aNamespaceID,
getter_AddRefs(ni));
NS_ENSURE_SUCCESS(rv, rv);