-
mitz@apple.com authored
2008-01-11 Anyang Ren <anyang.ren@gmail.com> Reviewed by Darin Adler. http://bugs.webkit.org/show_bug.cgi?id=15960 The view source mode should skip an empty attribute value only if the attribute name is not followed by an equal sign (=). Test: fast/frames/viewsource-empty-attribute-value.html * html/HTMLViewSourceDocument.cpp: (WebCore::HTMLViewSourceDocument::addViewSourceToken): LayoutTests: 2008-01-11 Anyang Ren <anyang.ren@gmail.com> Reviewed by Darin Adler. Add a new regression test for http://bugs.webkit.org/show_bug.cgi?id=15960 The view source mode should skip an empty attribute value only if the attribute name is not followed by an equal sign (=). * fast/frames/resources/viewsource-frame-1.html: Added. * fast/frames/viewsource-empty-attribute-value-expected.txt: Added. * fast/frames/viewsource-empty-attribute-value.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b16ec567