Bug 74567

Summary: Web Inspector: SourceHTMLTokenizer fails on malformed HTML
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Example from Daring Fireball
none
Screen Shot
none
Example from Mint.com none

Description Timothy Hatcher 2011-12-14 17:21:20 PST
Created attachment 119342 [details]
Example from Daring Fireball

See attached screenshot and test HTML. The tokenizer only highlights strings after tag remains open. Maybe there is a better fallback that could happen here? WebKit renedered the page fine, so I think it closed the <a>.
Comment 1 Timothy Hatcher 2011-12-14 17:21:49 PST
Created attachment 119343 [details]
Screen Shot
Comment 2 Timothy Hatcher 2011-12-14 17:23:03 PST
The daringfireball.net page does not always have this error, but the attached example was seen once.
Comment 3 Timothy Hatcher 2011-12-17 13:44:37 PST
Created attachment 119734 [details]
Example from Mint.com

Another example I found today at http://mint.com
Comment 4 Pavel Feldman 2011-12-18 06:20:02 PST
I don't think it is worth fixing. Developer will appreciate the hint on the malformed HTML as on the screenshot.