-
abarth@webkit.org authored
2008-06-24 Adam Barth <abarth@webkit.org> Reviewed by Darin Adler. Fix <https://bugs.webkit.org/show_bug.cgi?id=19597> Correctly parse <!-- </textarea> --> inside a <textarea>, matching Internet Explorer, Firefox, Opera, and HTML 5. Tests: fast/parser/comment-in-script-tricky.html fast/parser/comment-in-style.html fast/parser/comment-in-textarea.html fast/parser/comment-in-title.html * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::parseSpecial): LayoutTests: 2008-06-24 Adam Barth <abarth@webkit.org> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=19597 Test that we correctly parse comments containing end tags in CDATA and RCDATA contexts. * fast/parser/comment-in-script-tricky-expected.txt: Added. * fast/parser/comment-in-script-tricky.html: Added. * fast/parser/comment-in-style.html: Added. * fast/parser/comment-in-textarea.html: Added. * fast/parser/comment-in-title-expected.txt: Added. * fast/parser/comment-in-title.html: Added. * platform/mac/fast/parser/comment-in-style-expected.checksum: Added. * platform/mac/fast/parser/comment-in-style-expected.png: Added. * platform/mac/fast/parser/comment-in-style-expected.txt: Added. * platform/mac/fast/parser/comment-in-textarea-expected.checksum: Added. * platform/mac/fast/parser/comment-in-textarea-expected.png: Added. * platform/mac/fast/parser/comment-in-textarea-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5f8c1e85