1 Tests that SourceHTMLTokenizer detects the tokens.
3 <html>: cm-xml-tag xml-bracket, cm-xml-tag, cm-xml-tag xml-bracket
4 <table cellspacing=0>: cm-xml-tag xml-bracket, cm-xml-tag, *, cm-xml-attribute, *, cm-xml-string, cm-xml-tag xml-bracket
5 <input checked value="foo">: cm-xml-tag xml-bracket, cm-xml-tag, *, cm-xml-attribute, *, cm-xml-attribute, *, cm-xml-string, cm-xml-tag xml-bracket
6 <table cellspacing="0" cellpadding='0'>: cm-xml-tag xml-bracket, cm-xml-tag, *, cm-xml-attribute, *, cm-xml-string, *, cm-xml-attribute, *, cm-xml-string, cm-xml-tag xml-bracket
7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">: cm-xml-meta
8 <!--div><div foobar-->: cm-xml-comment
9 <script></script><!--div-->: cm-xml-tag xml-bracket, cm-xml-tag, cm-xml-tag xml-bracket, cm-xml-tag xml-bracket, cm-xml-tag, cm-xml-tag xml-bracket, cm-xml-comment
10 <script type="text/javascript">document.write('<script type="text/javascript"></' + 'script>');</script>: cm-xml-tag xml-bracket, cm-xml-tag, *, cm-xml-attribute, *, cm-xml-string, cm-xml-tag xml-bracket, cm-js-variable, *, cm-js-property, *, cm-js-string, *, cm-js-operator, *, cm-js-string, *, cm-xml-tag xml-bracket, cm-xml-tag, cm-xml-tag xml-bracket