1{
2    "tests": [
3        {
4            "fragmentContext": "div",
5            "description": "direct div content",
6            "input": "direct div content",
7            "output": [
8                [
9                    "Character",
10                    "direct div content"
11                ]
12            ]
13        },
14        {
15            "fragmentContext": "textarea",
16            "description": "direct textarea content",
17            "input": "direct textarea content",
18            "output": [
19                [
20                    "Character",
21                    "direct textarea content"
22                ]
23            ]
24        },
25        {
26            "fragmentContext": "textarea",
27            "description": "textarea content with <em>pseudo</em> <foo>markup",
28            "input": "textarea content with <em>pseudo</em> <foo>markup",
29            "output": [
30                [
31                    "Character",
32                    "textarea content with "
33                ],
34                [
35                    "StartTag",
36                    "em",
37                    {}
38                ],
39                [
40                    "Character",
41                    "pseudo"
42                ],
43                [
44                    "EndTag",
45                    "em"
46                ],
47                [
48                    "Character",
49                    " "
50                ],
51                [
52                    "StartTag",
53                    "foo",
54                    {}
55                ],
56                [
57                    "Character",
58                    "markup"
59                ]
60            ]
61        },
62        {
63            "fragmentContext": "style",
64            "description": "this is &#x0043;DATA inside a <style> element",
65            "input": "this is &#x0043;DATA inside a <style> element",
66            "output": [
67                [
68                    "Character",
69                    "this is CDATA inside a "
70                ],
71                [
72                    "StartTag",
73                    "style",
74                    {}
75                ],
76                [
77                    "Character",
78                    " element"
79                ]
80            ]
81        },
82        {
83            "fragmentContext": "plaintext",
84            "description": "</plaintext>",
85            "input": "</plaintext>",
86            "output": [
87                [
88                    "EndTag",
89                    "plaintext"
90                ]
91            ]
92        },
93        {
94            "fragmentContext": "html",
95            "description": "setting html's innerHTML",
96            "input": "setting html's innerHTML",
97            "output": [
98                [
99                    "Character",
100                    "setting html's innerHTML"
101                ]
102            ]
103        },
104        {
105            "fragmentContext": "head",
106            "description": "<title>setting head's innerHTML</title>",
107            "input": "<title>setting head's innerHTML</title>",
108            "output": [
109                [
110                    "StartTag",
111                    "title",
112                    {}
113                ],
114                [
115                    "Character",
116                    "setting head's innerHTML"
117                ],
118                [
119                    "EndTag",
120                    "title"
121                ]
122            ]
123        }
124    ]
125}