-
hyatt authored
Do not treat XHTML-style tags e.g., <br/> or <table/> as self-closing. This is absolutely wrong, and it does not match the behavior of other browsers. According to the HTML4 spec for parsing, / is an erroneous character and should simply be dropped, so <table/> should be treated like <table>. Fixes for crashes on glazman's blog and on tantek's blog. Both still mis-render, but at least they don't crash. Reviewed by gramps (and darin too) * khtml/html/htmltokenizer.cpp: * khtml/rendering/render_container.cpp: * khtml/rendering/render_style.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4bbddd4f