mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
288 lines
6.6 KiB
Plaintext
288 lines
6.6 KiB
Plaintext
|
|
x Document
|
|
,-[$DIR/tests/fixture/element/script/input.html:1:1]
|
|
1 | ,-> <!doctype html>
|
|
2 | | <html lang="en">
|
|
3 | | <head>
|
|
4 | | <title>Document</title>
|
|
5 | | <script>console.log("test");</script>
|
|
6 | | </head>
|
|
7 | | <body>
|
|
8 | | <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | | </script>
|
|
14 | | </body>
|
|
15 | `-> </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:1:1]
|
|
1 | <!doctype html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DocumentType
|
|
,-[$DIR/tests/fixture/element/script/input.html:1:1]
|
|
1 | <!doctype html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:2:1]
|
|
2 | ,-> <html lang="en">
|
|
3 | | <head>
|
|
4 | | <title>Document</title>
|
|
5 | | <script>console.log("test");</script>
|
|
6 | | </head>
|
|
7 | | <body>
|
|
8 | | <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | | </script>
|
|
14 | | </body>
|
|
15 | `-> </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/script/input.html:2:1]
|
|
2 | ,-> <html lang="en">
|
|
3 | | <head>
|
|
4 | | <title>Document</title>
|
|
5 | | <script>console.log("test");</script>
|
|
6 | | </head>
|
|
7 | | <body>
|
|
8 | | <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | | </script>
|
|
14 | | </body>
|
|
15 | `-> </html>
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/element/script/input.html:2:1]
|
|
2 | <html lang="en">
|
|
: ^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | | <title>Document</title>
|
|
5 | | <script>console.log("test");</script>
|
|
6 | `-> </head>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/script/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | | <title>Document</title>
|
|
5 | | <script>console.log("test");</script>
|
|
6 | `-> </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | `-> <title>Document</title>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | `-> <title>Document</title>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:4:5]
|
|
4 | <title>Document</title>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/script/input.html:4:5]
|
|
4 | <title>Document</title>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:4:5]
|
|
4 | <title>Document</title>
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:4:5]
|
|
4 | <title>Document</title>
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:4:5]
|
|
4 | ,-> <title>Document</title>
|
|
5 | `-> <script>console.log("test");</script>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:4:5]
|
|
4 | ,-> <title>Document</title>
|
|
5 | `-> <script>console.log("test");</script>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:5:5]
|
|
5 | <script>console.log("test");</script>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/script/input.html:5:5]
|
|
5 | <script>console.log("test");</script>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:5:5]
|
|
5 | <script>console.log("test");</script>
|
|
: ^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:5:5]
|
|
5 | <script>console.log("test");</script>
|
|
: ^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:5:5]
|
|
5 | <script>console.log("test");</script>
|
|
: ^
|
|
6 | </head>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:5:5]
|
|
5 | <script>console.log("test");</script>
|
|
: ^
|
|
6 | </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:6:1]
|
|
6 | </head>
|
|
: ^
|
|
7 | <body>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:6:1]
|
|
6 | </head>
|
|
: ^
|
|
7 | <body>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:7:1]
|
|
7 | ,-> <body>
|
|
8 | | <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | | </script>
|
|
14 | `-> </body>
|
|
15 | </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/script/input.html:7:1]
|
|
7 | ,-> <body>
|
|
8 | | <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | | </script>
|
|
14 | `-> </body>
|
|
15 | </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:7:1]
|
|
7 | ,-> <body>
|
|
8 | `-> <script type="text/html">
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:7:1]
|
|
7 | ,-> <body>
|
|
8 | `-> <script type="text/html">
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:8:5]
|
|
8 | ,-> <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | `-> </script>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/element/script/input.html:8:5]
|
|
8 | ,-> <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | `-> </script>
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/element/script/input.html:8:5]
|
|
8 | <script type="text/html">
|
|
: ^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:8:5]
|
|
8 | ,-> <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | `-> </script>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:8:5]
|
|
8 | ,-> <script type="text/html">
|
|
9 | | <div>
|
|
10 | | test
|
|
11 | | </div>
|
|
12 | | <!-- aa -->\n
|
|
13 | `-> </script>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/element/script/input.html:13:5]
|
|
13 | ,-> </script>
|
|
14 | `-> </body>
|
|
15 | </html>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/element/script/input.html:13:5]
|
|
13 | ,-> </script>
|
|
14 | `-> </body>
|
|
15 | </html>
|
|
`----
|