HTMLTreeBuilder should branch first on token type and then on insertion mode
Created attachment 59807 [details] Patch
Comment on attachment 59807 [details] Patch What are the ASSERTS for? 483 switch (insertionMode()) { 484 case InitialMode: 485 ASSERT(insertionMode() == InitialMode)
Comment on attachment 59807 [details] Patch I think this is going to end up much nicer, yes. Harder to compare the implementation to the spec though. We may need to keep some sort of document as to implementation status to help us make sure we cover all the spec.
Comment on attachment 59807 [details] Patch Clearing flags on attachment: 59807 Committed r61915: <http://trac.webkit.org/changeset/61915>
All reviewed patches have been landed. Closing bug.