Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Sep 2006 17:37:13 +0000 (17:37 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Sep 2006 17:37:13 +0000 (17:37 +0000)
commit3a9c2ab68afd60d1f6566129d409f1af1a979511
treef5bea82d2d87867f96c17fa8157b60ec6acaa742
parent00622c509f1b51dda2e4d703d5beba098a9aa848
    Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10753
        REGRESSION: The beginning of a CSS file is missing

        Test: http/tests/incremental/slow-utf8-css.pl

        * loader/Decoder.cpp:
        (WebCore::Decoder::checkForCSSCharset): Use the same buffering logic as used for HTML.
        (WebCore::Decoder::decode):
        * loader/Decoder.h: Added a return value and a movedDataToBuffer parameter to
        checkForCSSCharset().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/incremental/slow-utf8-css-expected.checksum [new file with mode: 0644]
LayoutTests/http/tests/incremental/slow-utf8-css-expected.png [new file with mode: 0644]
LayoutTests/http/tests/incremental/slow-utf8-css-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/incremental/slow-utf8-css.pl [new file with mode: 0755]
WebCore/ChangeLog
WebCore/loader/Decoder.cpp
WebCore/loader/Decoder.h