Bug 14273. We weren't recursively creating 'container' contents for HTML elements. Fixed that.
git-svn-id: svn://10.0.0.236/trunk@48700 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
32ded88d2b
commit
1a717135f0
@ -1883,6 +1883,11 @@ RDFGenericBuilderImpl::BuildContentFromTemplate(nsIContent *aTemplateNode,
|
||||
// add the entire subtree in a single whack.
|
||||
rv = BuildContentFromTemplate(tmplKid, realKid, aIsUnique, aChild, -1, PR_FALSE);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
if (isResourceElement) {
|
||||
rv = CreateContainerContents(realKid, aChild, PR_FALSE);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Otherwise, just mark the XUL element as requiring
|
||||
|
||||
@ -1883,6 +1883,11 @@ RDFGenericBuilderImpl::BuildContentFromTemplate(nsIContent *aTemplateNode,
|
||||
// add the entire subtree in a single whack.
|
||||
rv = BuildContentFromTemplate(tmplKid, realKid, aIsUnique, aChild, -1, PR_FALSE);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
if (isResourceElement) {
|
||||
rv = CreateContainerContents(realKid, aChild, PR_FALSE);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Otherwise, just mark the XUL element as requiring
|
||||
|
||||
@ -1883,6 +1883,11 @@ RDFGenericBuilderImpl::BuildContentFromTemplate(nsIContent *aTemplateNode,
|
||||
// add the entire subtree in a single whack.
|
||||
rv = BuildContentFromTemplate(tmplKid, realKid, aIsUnique, aChild, -1, PR_FALSE);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
if (isResourceElement) {
|
||||
rv = CreateContainerContents(realKid, aChild, PR_FALSE);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Otherwise, just mark the XUL element as requiring
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user