Lines Matching defs:fragment
977 RefPtr<DocumentFragment> fragment = htmlElement->createContextualFragment(markup);
980 m_element->appendChild(fragment, exception);
1023 RefPtr<DocumentFragment> fragment = htmlElement->createContextualFragment(markup);
1028 m_element->insertBefore(fragment, m_element->firstChild(), exception);
1030 m_element->appendChild(fragment, exception);
1075 RefPtr<DocumentFragment> fragment = htmlElement->createContextualFragment(markup);
1078 m_element->parent()->insertBefore(fragment, m_element, exception);
1125 RefPtr<DocumentFragment> fragment = htmlElement->createContextualFragment(markup);
1129 m_element->parent()->appendChild(fragment, exception);
1131 m_element->parent()->insertBefore(fragment, m_element->nextSibling(), exception);
1270 RefPtr<DocumentFragment> fragment = htmlElement->createContextualFragment(markup);
1272 if (!fragment || !fragment->firstChild())
1275 RefPtr<Node> insertionPoint = findInsertionPoint(fragment->firstChild());
1290 m_element->insertBefore(fragment, m_element->firstChild(), exception);
1292 m_element->appendChild(fragment, exception);
1312 // wrapping it in the fragment. The reason for doing it in this order is
1313 // that once the fragment has been added to the document it is empty, so
1345 RefPtr<DocumentFragment> fragment = htmlElement->createContextualFragment(markup);
1347 if (!fragment || !fragment->firstChild())
1350 RefPtr<Node> insertionPoint = findInsertionPoint(fragment->firstChild());
1356 // wrapping it in the fragment. The reason for doing it in this order is
1357 // that once the fragment has been added to the document it is empty, so
1366 parentNode->appendChild(fragment, exception);
1368 parentNode->insertBefore(fragment, siblingNode, exception);