Commit bd2f4cf6 authored by ben%netscape.com's avatar ben%netscape.com
Browse files

fix for insertion point goofiness r=hyatt

parent 3ac747e4
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -520,14 +520,10 @@ nsXBLBinding::GenerateAnonymousContent(nsIContent* aBoundElement)
  }
  
  nsCOMPtr<nsIContent> childrenElement;
      
  if (!buildContent) {
  // see if we have a <children/> element
  GetNestedChild(kChildrenAtom, content, getter_AddRefs(childrenElement));
    if (childrenElement) {
  if (childrenElement)
    buildContent = PR_TRUE;
    }
  }

  if (buildContent) {
     // Always check the content element for potential attributes.
+5 −9
Original line number Diff line number Diff line
@@ -520,14 +520,10 @@ nsXBLBinding::GenerateAnonymousContent(nsIContent* aBoundElement)
  }
  
  nsCOMPtr<nsIContent> childrenElement;
      
  if (!buildContent) {
  // see if we have a <children/> element
  GetNestedChild(kChildrenAtom, content, getter_AddRefs(childrenElement));
    if (childrenElement) {
  if (childrenElement)
    buildContent = PR_TRUE;
    }
  }

  if (buildContent) {
     // Always check the content element for potential attributes.