diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-10 12:49:49 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-10 12:49:49 +0000 |
commit | a6a2f7a824491d82af40f1ce8699ef4eb7d192e3 (patch) | |
tree | adf73cd5fbdd41250b13c2367c001ff50cf661f2 /test/data/tokeniser2/test2.test | |
parent | fb097fc6e5e031c38cf9d81275559928064cd42e (diff) | |
download | libhubbub-a6a2f7a824491d82af40f1ce8699ef4eb7d192e3.tar.gz libhubbub-a6a2f7a824491d82af40f1ce8699ef4eb7d192e3.tar.bz2 |
Sync tokeniser tests with html5lib.
Sync tokeniser implementation with the spec.
Fix handling of \0 in the tag open state.
The unicodeCharacters test is disabled, as json-c doesn't like it.
svn path=/trunk/hubbub/; revision=6755
Diffstat (limited to 'test/data/tokeniser2/test2.test')
-rw-r--r-- | test/data/tokeniser2/test2.test | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/data/tokeniser2/test2.test b/test/data/tokeniser2/test2.test index 8c7d00f..6d6f6ff 100644 --- a/test/data/tokeniser2/test2.test +++ b/test/data/tokeniser2/test2.test @@ -150,8 +150,14 @@ {"description":"Empty attribute followed by uppercase attribute", "input":"<h a B=''>", -"output":[["StartTag", "h", {"a":"", "b":""}]]} +"output":[["StartTag", "h", {"a":"", "b":""}]]}, -]} +{"description":"Double-quote after attribute name", +"input":"<h a \">", +"output":["ParseError", ["StartTag", "h", {"a":"", "\"":""}]]}, +{"description":"Single-quote after attribute name", +"input":"<h a '>", +"output":["ParseError", ["StartTag", "h", {"a":"", "'":""}]]} +]} |