Home | History | Annotate | Download | only in Node

Lines Matching full:frag

67     var frag = document.createDocumentFragment();
69 frag.appendChild(document.createElement("b"));
70 frag.appendChild(document.createElement("u"));
71 frag.appendChild(document.createElement("p"));
72 frag.addEventListener("DOMSubtreeModified", function(evt)
78 mutationHandler(evt, frag, stash);
87 method(stash, frag);
111 testFragment(method, "Inserting an element in front of the next item in fragment should not affect the result", function(evt, frag)
113 frag.insertBefore(missing, frag.firstChild);
116 testFragment(method, "Removing next item should not abort iteration", function(evt, frag)
118 frag.removeChild(frag.firstChild);
122 testFragment(method, "Appending an element at the end of the fragment should not affect the result", function(evt, frag)
124 frag.appendChild(extra);
127 testFragment(method, "Continually re-appending removed element to the fragment should eventually throw NOT_FOUND_ERR", function(evt, frag, stash)
129 stash.insertBefore(frag.lastChild, stash.firstChild);
132 testFragment(method, "Moving next item to become previous sibling of the re-parentee should not result in stack exhaustion", function(evt, frag, stash)
134 document.body.insertBefore(frag.firstChild, stash);