Patch by David Kilzer, reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Mar 2006 08:29:20 +0000 (08:29 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Mar 2006 08:29:20 +0000 (08:29 +0000)
commit57aa7049680ff009f59c7ee80d6aa669b14c39a6
treee3738614c1c618f40f90b344cc83135be3278a90
parent9f2b64c39747f4850f2411e0c2407d5332ba231b
    Patch by David Kilzer, reviewed by Darin.

        - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7724
        Minor refactoring to HTMLParser::handleError() to remove duplicate code

WebCore:
        * khtml/html/htmlparser.cpp:
        (WebCore::HTMLParser::handleError): Refactored code.

LayoutTests:
        These tests cover the changed code.  No change in behavior.

        * fast/invalid/missing-address-end-tag-expected.checksum: Added.
        * fast/invalid/missing-address-end-tag-expected.png: Added.
        * fast/invalid/missing-address-end-tag-expected.txt: Added.
        * fast/invalid/missing-address-end-tag.html: Added.
        * fast/invalid/missing-dl-end-tag-expected.checksum: Added.
        * fast/invalid/missing-dl-end-tag-expected.png: Added.
        * fast/invalid/missing-dl-end-tag-expected.txt: Added.
        * fast/invalid/missing-dl-end-tag.html: Added.
        * fast/invalid/missing-dt-end-tag-expected.checksum: Added.
        * fast/invalid/missing-dt-end-tag-expected.png: Added.
        * fast/invalid/missing-dt-end-tag-expected.txt: Added.
        * fast/invalid/missing-dt-end-tag.html: Added.
        * fast/invalid/missing-font-end-tag-expected.checksum: Added.
        * fast/invalid/missing-font-end-tag-expected.png: Added.
        * fast/invalid/missing-font-end-tag-expected.txt: Added.
        * fast/invalid/missing-font-end-tag.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/invalid/missing-address-end-tag-expected.checksum [new file with mode: 0644]
LayoutTests/fast/invalid/missing-address-end-tag-expected.png [new file with mode: 0644]
LayoutTests/fast/invalid/missing-address-end-tag-expected.txt [new file with mode: 0644]
LayoutTests/fast/invalid/missing-address-end-tag.html [new file with mode: 0644]
LayoutTests/fast/invalid/missing-dl-end-tag-expected.checksum [new file with mode: 0644]
LayoutTests/fast/invalid/missing-dl-end-tag-expected.png [new file with mode: 0644]
LayoutTests/fast/invalid/missing-dl-end-tag-expected.txt [new file with mode: 0644]
LayoutTests/fast/invalid/missing-dl-end-tag.html [new file with mode: 0644]
LayoutTests/fast/invalid/missing-dt-end-tag-expected.checksum [new file with mode: 0644]
LayoutTests/fast/invalid/missing-dt-end-tag-expected.png [new file with mode: 0644]
LayoutTests/fast/invalid/missing-dt-end-tag-expected.txt [new file with mode: 0644]
LayoutTests/fast/invalid/missing-dt-end-tag.html [new file with mode: 0644]
LayoutTests/fast/invalid/missing-font-end-tag-expected.checksum [new file with mode: 0644]
LayoutTests/fast/invalid/missing-font-end-tag-expected.png [new file with mode: 0644]
LayoutTests/fast/invalid/missing-font-end-tag-expected.txt [new file with mode: 0644]
LayoutTests/fast/invalid/missing-font-end-tag.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/khtml/html/htmlparser.cpp