Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / syntax-highlight-html.html
blob5b657004c9f5fd3d66edb0b40159d46f35d68fda
1 <html>
2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script src="syntax-highlight.js"></script>
5 <script>
7 function test()
9 function dumpSyntaxHighlightHTML(str)
11 return InspectorTest.dumpSyntaxHighlight(str, "text/html");
14 dumpSyntaxHighlightHTML("<html>");
15 dumpSyntaxHighlightHTML("<table cellspacing=0>");
16 dumpSyntaxHighlightHTML("<input checked value=\"foo\">");
17 dumpSyntaxHighlightHTML("<table cellspacing=\"0\" cellpadding='0'>");
18 dumpSyntaxHighlightHTML("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");
19 dumpSyntaxHighlightHTML("<!--div><div foobar-->");
20 dumpSyntaxHighlightHTML("<script></" + "script><!--div-->");
21 dumpSyntaxHighlightHTML("<script type=\"text/javascript\">document.write('<script type=\"text/javascript\"></' + 'script>');</" + "script>")
23 .then(InspectorTest.completeTest.bind(InspectorTest));
26 </script>
27 </head>
29 <body onload="runTest()">
30 <p>
31 Tests that SourceHTMLTokenizer detects the tokens.
32 </p>
34 </body>
35 </html>