Bug 4948 - Incorrect HTML entity error recovery doesn't match other browsers
: Incorrect HTML entity error recovery doesn't match other browsers
Status: NEW
: WebKit
HTML DOM
: 420+
: Macintosh Mac OS X 10.4
: P3 Enhancement
Assigned To:
:
: HasReduction, InRadar
: 6446 32377
:
  Show dependency treegraph
 
Reported: 2005-09-12 01:41 PST by
Modified: 2010-11-01 22:24 PST (History)


Attachments
test matrix (3.54 KB, text/html)
2005-09-12 01:42 PST, Alexey Proskuryakov
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-09-12 01:41:57 PST
(from discussion in bug 4820)

Attached is a test matrix for invalid HTML entities with results for several browsers. Apparently, different 
browsers have little in common here, yet Safari matches none of them.

Perhaps, this should be improved.
------- Comment #1 From 2005-09-12 01:42:23 PST -------
Created an attachment (id=3875) [details]
test matrix
------- Comment #2 From 2005-12-28 01:35:59 PST -------
What a great table.  The code for all this is inside htmltokenizer.cpp.
------- Comment #3 From 2008-03-28 02:17:32 PST -------
Bug 17689 has an example of this.
------- Comment #4 From 2008-03-28 02:17:57 PST -------
<rdar://problem/5827553>
------- Comment #5 From 2008-07-28 17:52:38 PST -------
This logic should be covered by http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#consume 
------- Comment #6 From 2010-11-01 22:21:53 PST -------
Our goal here is to match the HTML5 spec.  How does a WebKit nightly compare to Firefox 4 beta?
------- Comment #7 From 2010-11-01 22:24:18 PST -------
Looks like we match Firefox 4 on everything except:

&#4294967393;
&#18446744073709551713;
&#79228162514264337593543950433;
&#x100000061;