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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user