Skip to content
  • commit-queue@webkit.org's avatar
    Logic from HTMLElement::deprecatedCreateContextualFragment moved into · 72a3598d
    commit-queue@webkit.org authored
    Range::createContextualFragment function.
    https://bugs.webkit.org/show_bug.cgi?id=67056
    
    Patch by Kaustubh Atrawalkar <kaustubh@motorola.com> on 2011-09-05
    Reviewed by Ryosuke Niwa.
    
    Code Refactoring for deprecatedCreateContextualFragment.
    
    Source/WebCore:
    
    No new tests. Code Re-factoring.
    
    * dom/Element.cpp:
    * dom/Element.h:
    * dom/Range.cpp:
    (WebCore::insertIntoFragment):
    (WebCore::Range::createDocumentFragmentForElement):
    (WebCore::Range::createContextualFragment):
    * dom/Range.h:
    * editing/markup.cpp:
    (WebCore::createFragmentFromMarkup):
    * html/HTMLElement.cpp:
    * html/HTMLElement.h:
    
    Source/WebKit/qt:
    
    * Api/qwebelement.cpp:
    (QWebElement::appendInside):
    (QWebElement::prependInside):
    (QWebElement::prependOutside):
    (QWebElement::appendOutside):
    (QWebElement::encloseContentsWith):
    (QWebElement::encloseWith):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    72a3598d