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>bar | |
52 <li>baz | |
53 <li> | |
54 hello <b>world</b> | |
dgozman
2016/04/19 01:55:03
<li> hello <b>world</b>!
<li> hello <b>world</b> <
lushnikov
2016/04/19 23:11:40
Done.
| |
55 <li>another | |
56 </ul> | |
57 | |
58 ------ >8 ====== | |
59 Correct mapping for <foo> | |
60 Correct mapping for <bar> | |
61 Correct mapping for <baz> | |
62 Correct mapping for <hello> | |
63 Correct mapping for <world> | |
64 Correct mapping for <another> | |
65 | |
66 Running: testAutomaticClosingTags | |
67 ====== 8< ------ | |
68 <a> | |
69 aaaa | |
70 <b> | |
71 bbbb1 | |
72 <c> | |
73 cccc<d>dddd | |
74 </c> | |
75 bbbb2 | |
76 </a> | |
77 | |
78 ------ >8 ====== | |
79 Correct mapping for <aaaa> | |
80 Correct mapping for <bbbb1> | |
81 Correct mapping for <bbbb2> | |
82 Correct mapping for <cccc> | |
83 Correct mapping for <dddd> | |
84 | |
OLD | NEW |