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