From f0e6387fb6d78d40e8da598bbf7bbf72504bc45c Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Mon, 27 Oct 2014 20:38:29 -0700 Subject: [PATCH] Update tokenizer to match spec This CL is a rough pass over the HTMLTokenizer to align it with parsing.md. We'll need to do another pass more carefully in the future, but this CL gets us roughly in the right ballpark. We're not handling EOF properly. The parsing.md spec doesn't push the EOF though the parser, which breaks our current way of handling EOF. We do ok if we get EOF in the DataState, and that's enough to pass the tests for now. Also, update camel-case.sky to reflect the fact that the parser doesn't lower-case tag names anymore. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/678263002 --- engine/src/flutter/tests/lowlevel/camel-case.sky | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/tests/lowlevel/camel-case.sky b/engine/src/flutter/tests/lowlevel/camel-case.sky index 89271ad61c..fade0ebc4f 100644 --- a/engine/src/flutter/tests/lowlevel/camel-case.sky +++ b/engine/src/flutter/tests/lowlevel/camel-case.sky @@ -4,7 +4,7 @@