RESOLVED WONTFIX 74567
Web Inspector: SourceHTMLTokenizer fails on malformed HTML
https://bugs.webkit.org/show_bug.cgi?id=74567
Summary Web Inspector: SourceHTMLTokenizer fails on malformed HTML
Timothy Hatcher
Reported 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>.
Attachments
Example from Daring Fireball (69.13 KB, text/html)
2011-12-14 17:21 PST, Timothy Hatcher
no flags
Screen Shot (162.05 KB, image/png)
2011-12-14 17:21 PST, Timothy Hatcher
no flags
Example from Mint.com (58.46 KB, text/html)
2011-12-17 13:44 PST, Timothy Hatcher
no flags
Timothy Hatcher
Comment 1 2011-12-14 17:21:49 PST
Created attachment 119343 [details] Screen Shot
Timothy Hatcher
Comment 2 2011-12-14 17:23:03 PST
The daringfireball.net page does not always have this error, but the attached example was seen once.
Timothy Hatcher
Comment 3 2011-12-17 13:44:37 PST
Created attachment 119734 [details] Example from Mint.com Another example I found today at http://mint.com
Pavel Feldman
Comment 4 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.
Note You need to log in before you can comment on or make changes to this bug.