We should parse <html>
Created attachment 59816 [details] Patch
Comment on attachment 59816 [details] Patch OK. rs=me.
Comment on attachment 59816 [details] Patch Clearing flags on attachment: 59816 Committed r61925: <http://trac.webkit.org/changeset/61925>
All reviewed patches have been landed. Closing bug.
> This patch is hard to test Why is it hard to test? Won't an iframe pointing to such a document do it? Or is it that HTMLTreeBuilder is in a state where nothing works yet?
> Why is it hard to test? Won't an iframe pointing to such a document do it? You're presupposing that we could parse an <iframe> tag at this point. Literally, this patch let us parse the document "<html>" and nothing else. > Or is it that HTMLTreeBuilder is in a state where nothing works yet? We're rapidly approaching the point where we can parse HTML5lib's runner.html. At that point, adding tests will be easy.
We actually cant' run the runner yet, but we're testing it it already: https://trac.webkit.org/changeset/61989 https://trac.webkit.org/changeset/61991