diff options
author | Andrew Sidwell <andy@entai.co.uk> | 2008-06-19 01:03:53 +0000 |
---|---|---|
committer | Andrew Sidwell <andy@entai.co.uk> | 2008-06-19 01:03:53 +0000 |
commit | 647123a2fdc5b8c1926289465370453ed72cde21 (patch) | |
tree | d254732b71f7db60abc2b9afc3f97154f94b0b75 /test/data/tokeniser2/test2.test | |
parent | 793e34afc6bad4a77a968a49fdfbaca5e7fcef2e (diff) | |
download | libhubbub-647123a2fdc5b8c1926289465370453ed72cde21.tar.gz libhubbub-647123a2fdc5b8c1926289465370453ed72cde21.tar.bz2 |
Add some new tests (also committed to html5lib).
svn path=/trunk/hubbub/; revision=4407
Diffstat (limited to 'test/data/tokeniser2/test2.test')
-rw-r--r-- | test/data/tokeniser2/test2.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/data/tokeniser2/test2.test b/test/data/tokeniser2/test2.test index 209ce2b..c1f1f65 100644 --- a/test/data/tokeniser2/test2.test +++ b/test/data/tokeniser2/test2.test @@ -144,6 +144,10 @@ "input":"\nx\n>\n", "output":[["Character","\nx\n>\n"]]}, +{"description":"Start tag with no attributes but space before the greater-than sign", +"input":"<h >", +"output":[["StartTag", "h", {}]]}, + {"description":"Empty attribute followed by uppercase attribute", "input":"<h a B=''>", "output":[["StartTag", "h", {"a":"", "b":""}]]}, |