Compare Revisions

document.createDocumentFragment

Revision 74594:

Revision 74594 by dbruant on

Revision 296177:

Revision 296177 by blastart on

Title:
document.createDocumentFragment
document.createDocumentFragment
Slug:
DOM/document.createDocumentFragment
DOM/document.createDocumentFragment
Tags:
DOM, Gecko, "Gecko DOM Reference"
"Gecko DOM Reference","DOM","Gecko"
Content:

Revision 74594
Revision 296177
n17var <em>docFragment</em> = document.createDocumentFragment();n17var docFragment = document.createDocumentFragment();
t29      Since the document fragment is in memory and not part of tht29      Since the document fragment is in memory and not part of th
>e main DOM tree, appending children to it does not cause page <a >e main DOM tree, appending children to it does not cause page <a 
>class=" external" href="http://code.google.com/speed/articles/ref>class="external" href="http://code.google.com/speed/articles/refl
>low.html">reflow</a> (computation of elements position and geomet>ow.html">reflow</a> (computation of elements position and geometr
>ry). Consequently, using document fragments often results in <a c>y). Consequently, using document fragments often results in <a cl
>lass=" external" href="http://ejohn.org/blog/dom-documentfragment>ass="external" href="http://ejohn.org/blog/dom-documentfragments/
>s/">better performances</a>.>">better performances</a>.

Back to History