-
eric@webkit.org authored
Reviewed by Adam Barth. Implement self closing start tag state in the tokenizer https://bugs.webkit.org/show_bug.cgi?id=41946 * html5lib/runner-expected-html5.txt: - Yay progressions! 2010-07-09 Eric Seidel <eric@webkit.org> Reviewed by Adam Barth. Implement self closing start tag state in the tokenizer https://bugs.webkit.org/show_bug.cgi?id=41946 Amazingly we got this far w/o needing self closing. The LegacyHTMLTreeBuilder clearly uses the self-closing state, but the fact that we never exposed it seems to not have caused any test failures. Sad. The new HTMLTreeBuilder only needs the self closing state for foreign content mode (and a few parse error cases). * html/HTMLToken.h: (WebCore::HTMLToken::setSelfClosing): * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::nextToken): * html/HTMLTreeBuilder.cpp: (WebCore::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
86b7fdf5