Skip to content
  • abarth@webkit.org's avatar
    2011-05-12 Adam Barth <abarth@webkit.org> · c4d1975d
    abarth@webkit.org authored
            Reviewed by Darin Adler.
    
            REGRESSION (r65868): createContextualFragment does not work with <style>
            https://bugs.webkit.org/show_bug.cgi?id=60155
    
            These test results match Firefox.
    
            * fast/parser/style-in-create-contextual-fragment-expected.txt: Added.
            * fast/parser/style-in-create-contextual-fragment-head-expected.txt: Added.
            * fast/parser/style-in-create-contextual-fragment-head.html: Added.
            * fast/parser/style-in-create-contextual-fragment.html: Added.
    2011-05-12  Adam Barth  <abarth@webkit.org>
    
            Reviewed by Darin Adler.
    
            REGRESSION (r65868): createContextualFragment does not work with <style>
            https://bugs.webkit.org/show_bug.cgi?id=60155
    
            createContextualFragment doesn't have a spec, so it's hard to tell what
            we're supposed to do exactly.  This patch appears to make our behavior
            more like Firefox and should fix the compat issue with this site.
    
            Tests: fast/parser/style-in-create-contextual-fragment-head.html
                   fast/parser/style-in-create-contextual-fragment.html
    
            * dom/Element.cpp:
            (WebCore::Element::deprecatedCreateContextualFragment):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c4d1975d