[webkit-dev] HTML5 tokenizer landing soon

Adam Barth abarth at webkit.org
Mon Jun 14 14:05:11 PDT 2010

On Mon, Jun 14, 2010 at 1:53 PM, David Hyatt <hyatt at apple.com> wrote:
> On Jun 14, 2010, at 3:48 PM, Adam Barth wrote:
>> We ended up using the same algorithm as the old tokenizer to manage
>> insertion points, however, we moved all the work into a separate
>> InputStream data structure:
>> http://trac.webkit.org/browser/trunk/WebCore/html/HTML5DocumentParser.h#L75
>> The old code was actually pretty clever once I figured out what it was
>> doing.  We're considering moving InputStream into its own file instead
>> of keeping it as an inner class of the document parser.
> If you're talking about the segmented string stuff, I added that to the existing tokenizer. :)

Yeah, well, I already knew you were a clever guy.  :)


More information about the webkit-dev mailing list