Summary: | HTMLTreeBuilder should branch first on token type and then on insertion mode | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Barth <abarth> | ||||
Component: | New Bugs | Assignee: | Adam Barth <abarth> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric, mike | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 41123 | ||||||
Attachments: |
|
Description
Adam Barth
2010-06-25 15:56:45 PDT
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. |