Lines Matching defs:fragment
106 if (PassRefPtr<DocumentFragment> fragment = dragData->asFragment(document))
107 return fragment;
118 RefPtr<DocumentFragment> fragment = document->createDocumentFragment();
119 fragment->appendChild(anchor, ec);
120 return fragment.get();
424 RefPtr<DocumentFragment> fragment = documentFragmentFromDragData(dragData, range, true, chosePlainText);
425 if (!fragment || !innerFrame->editor()->shouldInsertFragment(fragment, range, EditorInsertActionDropped)) {
435 fragment, dragCaret.base(), smartMove));
438 applyCommand(ReplaceSelectionCommand::create(m_documentUnderMouse, fragment, true, dragData->canSmartReplace(), chosePlainText));