2011-05-12 Adam Barth <abarth@webkit.org>
authorAdam Barth <abarth@webkit.org>
Thu, 12 May 2011 18:29:01 +0000 (18:29 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 13 May 2011 16:00:29 +0000 (13:00 -0300)
commit92d1b15ccf576654593ab374b90ff5f3fd6fc200
treed571911a6838a9753328e88346d985f53168dc8d
parent777307fad1869270ccf077aa41f1de83d6076ce5
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

        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
LayoutTests/ChangeLog
LayoutTests/fast/parser/style-in-create-contextual-fragment-expected.txt [new file with mode: 0644]
LayoutTests/fast/parser/style-in-create-contextual-fragment-head-expected.txt [new file with mode: 0644]
LayoutTests/fast/parser/style-in-create-contextual-fragment-head.html [new file with mode: 0644]
LayoutTests/fast/parser/style-in-create-contextual-fragment.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/dom/Element.cpp