On Dec 7, 7:30 pm, Hernan Rodriguez Colmeiro <[email protected]>
wrote:
> On Fri, Sep 11, 2009 at 14:09, johnjbarton <[email protected]> 
> wrote:
> > On Sep 11, 9:28 am, Nick Fitzsimons <[email protected]> wrote:
> >> 2009/9/11 Nick Fitzsimons <[email protected]>:
>
> >> > 2009/9/11 John J Barton <[email protected]>:
>
> >> > Finally, the document fragment is inserted before the
> >> > referenceElement, which must therefore be a child of element.
>
> >> One more point: if referenceElement is not passed to the function,
> >> then insertBefore will act to append the document fragment to the end
> >> of element's existing content, which may be where the "append" part of
> >> the name comes from.
>
> > Thanks a lot for this info. One more question: is the fragment a valid
> > input for 'referenceElement'? I take the return value as the inserted
> > element and later put it in as the referenceElement (in the case where
> > we want to prepend).
>
> As stated inhttps://developer.mozilla.org/en/dom/documentfragment,
> the fragment extends Node, so it should be a valid referenceElement.
> What I don't get is what you mean as "return value", because I don't
> see a return in the method.

I added one after my first post:
http://code.google.com/p/fbug/source/browse/branches/firebug1.5/content/firebug/lib.js#975

>
> Hernan

--

You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.


Reply via email to