OLD | NEW |
(Empty) | |
| 1 Verifies JavaScript pretty-printing functionality. |
| 2 |
| 3 |
| 4 Running: testDocType |
| 5 ====== 8< ------ |
| 6 <!DOCTYPE HTML> |
| 7 <body>hello, world</body> |
| 8 |
| 9 ------ >8 ====== |
| 10 Correct mapping for <<body>> |
| 11 Correct mapping for <hello> |
| 12 Correct mapping for <</body>> |
| 13 |
| 14 Running: testComment |
| 15 ====== 8< ------ |
| 16 <!-- comment 1 --> |
| 17 <html> |
| 18 <!-- comment 2--> |
| 19 <meta/> |
| 20 <body> |
| 21 <!-- comment 3--> |
| 22 <a>link</a> |
| 23 </body> |
| 24 </html> |
| 25 |
| 26 ------ >8 ====== |
| 27 Correct mapping for <<body>> |
| 28 Correct mapping for <comment 1> |
| 29 Correct mapping for <comment 2> |
| 30 Correct mapping for <comment 3> |
| 31 Correct mapping for <link> |
| 32 |
| 33 Running: testNonJavascriptScriptTag |
| 34 ====== 8< ------ |
| 35 <div> |
| 36 <script type='text/K'> |
| 37 2_&{&/x!/:2_!x}'!R |
| 38 </script> |
| 39 </div> |
| 40 |
| 41 ------ >8 ====== |
| 42 Correct mapping for <type> |
| 43 Correct mapping for <R> |
| 44 Correct mapping for <</div>> |
| 45 Correct mapping for <</script>> |
| 46 |
| 47 Running: testList |
| 48 ====== 8< ------ |
| 49 <ul> |
| 50 <li>foo |
| 51 <li> |
| 52 hello <b>world</b> |
| 53 ! |
| 54 <li> |
| 55 hello <b>world</b> |
| 56 <b>i'm here</b> |
| 57 <li>bar |
| 58 <li>baz |
| 59 <li> |
| 60 hello <b>world</b> |
| 61 <li>another |
| 62 </ul> |
| 63 |
| 64 ------ >8 ====== |
| 65 Correct mapping for <foo> |
| 66 Correct mapping for <bar> |
| 67 Correct mapping for <baz> |
| 68 Correct mapping for <hello> |
| 69 Correct mapping for <world> |
| 70 Correct mapping for <another> |
| 71 |
| 72 Running: testAutomaticClosingTags |
| 73 ====== 8< ------ |
| 74 <a> |
| 75 aaaa |
| 76 <b> |
| 77 bbbb1 |
| 78 <c> |
| 79 cccc<d>dddd |
| 80 </c> |
| 81 bbbb2 |
| 82 </a> |
| 83 |
| 84 ------ >8 ====== |
| 85 Correct mapping for <aaaa> |
| 86 Correct mapping for <bbbb1> |
| 87 Correct mapping for <bbbb2> |
| 88 Correct mapping for <cccc> |
| 89 Correct mapping for <dddd> |
| 90 |
OLD | NEW |