mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
324 lines
8.2 KiB
Plaintext
324 lines
8.2 KiB
Plaintext
|
|
x Document
|
|
,-[$DIR/tests/fixture/text/bom/input.html:1:1]
|
|
1 | ,-> <!doctype html>
|
|
2 | | <html lang="en">
|
|
3 | | <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport"
|
|
6 | | content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
7 | | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8 | | <title>Document</title>
|
|
9 | | </head>
|
|
10 | | <body>
|
|
11 | | <div>Test</div>
|
|
12 | | </body>
|
|
13 | `-> </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:1:1]
|
|
1 | <!doctype html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x DocumentType
|
|
,-[$DIR/tests/fixture/text/bom/input.html:1:1]
|
|
1 | <!doctype html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:2:1]
|
|
2 | ,-> <html lang="en">
|
|
3 | | <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport"
|
|
6 | | content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
7 | | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8 | | <title>Document</title>
|
|
9 | | </head>
|
|
10 | | <body>
|
|
11 | | <div>Test</div>
|
|
12 | | </body>
|
|
13 | `-> </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/text/bom/input.html:2:1]
|
|
2 | ,-> <html lang="en">
|
|
3 | | <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport"
|
|
6 | | content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
7 | | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8 | | <title>Document</title>
|
|
9 | | </head>
|
|
10 | | <body>
|
|
11 | | <div>Test</div>
|
|
12 | | </body>
|
|
13 | `-> </html>
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/text/bom/input.html:2:1]
|
|
2 | <html lang="en">
|
|
: ^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport"
|
|
6 | | content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
7 | | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8 | | <title>Document</title>
|
|
9 | `-> </head>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/text/bom/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | | <meta charset="UTF-8">
|
|
5 | | <meta name="viewport"
|
|
6 | | content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
7 | | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8 | | <title>Document</title>
|
|
9 | `-> </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | `-> <meta charset="UTF-8">
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:3:1]
|
|
3 | ,-> <head>
|
|
4 | `-> <meta charset="UTF-8">
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:4:5]
|
|
4 | <meta charset="UTF-8">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/text/bom/input.html:4:5]
|
|
4 | <meta charset="UTF-8">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/text/bom/input.html:4:5]
|
|
4 | <meta charset="UTF-8">
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:4:5]
|
|
4 | ,-> <meta charset="UTF-8">
|
|
5 | `-> <meta name="viewport"
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:4:5]
|
|
4 | ,-> <meta charset="UTF-8">
|
|
5 | `-> <meta name="viewport"
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:5:5]
|
|
5 | ,-> <meta name="viewport"
|
|
6 | `-> content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/text/bom/input.html:5:5]
|
|
5 | ,-> <meta name="viewport"
|
|
6 | `-> content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/text/bom/input.html:5:5]
|
|
5 | <meta name="viewport"
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/text/bom/input.html:6:11]
|
|
6 | content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:6:11]
|
|
6 | ,-> content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
7 | `-> <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:6:11]
|
|
6 | ,-> content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
7 | `-> <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:7:5]
|
|
7 | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/text/bom/input.html:7:5]
|
|
7 | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/text/bom/input.html:7:5]
|
|
7 | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Attribute
|
|
,-[$DIR/tests/fixture/text/bom/input.html:7:5]
|
|
7 | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
: ^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:7:5]
|
|
7 | ,-> <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8 | `-> <title>Document</title>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:7:5]
|
|
7 | ,-> <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
8 | `-> <title>Document</title>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:8:5]
|
|
8 | <title>Document</title>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/text/bom/input.html:8:5]
|
|
8 | <title>Document</title>
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:8:5]
|
|
8 | <title>Document</title>
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:8:5]
|
|
8 | <title>Document</title>
|
|
: ^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:8:5]
|
|
8 | <title>Document</title>
|
|
: ^
|
|
9 | </head>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:8:5]
|
|
8 | <title>Document</title>
|
|
: ^
|
|
9 | </head>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:9:1]
|
|
9 | </head>
|
|
: ^
|
|
10 | <body>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:9:1]
|
|
9 | </head>
|
|
: ^
|
|
10 | <body>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:10:1]
|
|
10 | ,-> <body>
|
|
11 | | <div>Test</div>
|
|
12 | `-> </body>
|
|
13 | </html>
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/text/bom/input.html:10:1]
|
|
10 | ,-> <body>
|
|
11 | | <div>Test</div>
|
|
12 | `-> </body>
|
|
13 | </html>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:10:1]
|
|
10 | <body>
|
|
: ^
|
|
11 | <div>Test</div>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:10:1]
|
|
10 | <body>
|
|
: ^
|
|
11 | <div>Test</div>
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:11:1]
|
|
11 | <div>Test</div>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Element
|
|
,-[$DIR/tests/fixture/text/bom/input.html:11:1]
|
|
11 | <div>Test</div>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:11:1]
|
|
11 | <div>Test</div>
|
|
: ^^^^
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:11:1]
|
|
11 | <div>Test</div>
|
|
: ^^^^
|
|
`----
|
|
|
|
x Child
|
|
,-[$DIR/tests/fixture/text/bom/input.html:11:1]
|
|
11 | ,-> <div>Test</div>
|
|
12 | `-> </body>
|
|
13 | </html>
|
|
`----
|
|
|
|
x Text
|
|
,-[$DIR/tests/fixture/text/bom/input.html:11:1]
|
|
11 | ,-> <div>Test</div>
|
|
12 | `-> </body>
|
|
13 | </html>
|
|
`----
|